public class Annotations extends Object
Constructor and Description |
---|
Annotations()
Constructor
|
Modifier and Type | Method and Description |
---|---|
Connector |
merge(Connector connector,
AnnotationRepository annotationRepository,
ClassLoader classLoader)
Scan for annotations in the URLs specified
|
Connector |
process(AnnotationRepository annotationRepository,
String xmlResourceAdapterClass,
ClassLoader classLoader)
Process annotations
|
public Connector merge(Connector connector, AnnotationRepository annotationRepository, ClassLoader classLoader) throws Exception
connector
- The connector adapter metadataannotationRepository
- annotationRepository to useclassLoader
- The class loader used to generate the repositoryException
- Thrown if an error occurspublic Connector process(AnnotationRepository annotationRepository, String xmlResourceAdapterClass, ClassLoader classLoader) throws Exception
annotationRepository
- The annotation repositoryxmlResourceAdapterClass
- resource adpater class name as define in xmlclassLoader
- The class loader used to generate the repositoryException
- Thrown if an error occursCopyright © 2021 JBoss by Red Hat. All rights reserved.