public class Annotations
extends java.lang.Object
Constructor and Description |
---|
Annotations()
Constructor
|
Modifier and Type | Method and Description |
---|---|
Connector |
merge(Connector connector,
AnnotationRepository annotationRepository,
java.lang.ClassLoader classLoader)
Scan for annotations in the URLs specified
|
Connector |
process(AnnotationRepository annotationRepository,
java.lang.String xmlResourceAdapterClass,
java.lang.ClassLoader classLoader)
Process annotations
|
public Connector merge(Connector connector, AnnotationRepository annotationRepository, java.lang.ClassLoader classLoader) throws java.lang.Exception
connector
- The connector adapter metadataannotationRepository
- annotationRepository to useclassLoader
- The class loader used to generate the repositoryjava.lang.Exception
- Thrown if an error occurspublic Connector process(AnnotationRepository annotationRepository, java.lang.String xmlResourceAdapterClass, java.lang.ClassLoader classLoader) throws java.lang.Exception
annotationRepository
- The annotation repositoryxmlResourceAdapterClass
- resource adpater class name as define in xmlclassLoader
- The class loader used to generate the repositoryjava.lang.Exception
- Thrown if an error occursCopyright © 2013 IronJacamar (http://www.ironjacamar.org)