Package org.jboss.jca.common.annotations
Class Annotations
- java.lang.Object
-
- org.jboss.jca.common.annotations.Annotations
-
public class Annotations extends Object
The annotation processor for JCA 1.6- Author:
- Jesper Pedersen, Jeff Zhang
-
-
Constructor Summary
Constructors Constructor Description Annotations()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connectormerge(Connector connector, AnnotationRepository annotationRepository, ClassLoader classLoader)Scan for annotations in the URLs specifiedConnectorprocess(AnnotationRepository annotationRepository, String xmlResourceAdapterClass, ClassLoader classLoader)Process annotations
-
-
-
Method Detail
-
merge
public Connector merge(Connector connector, AnnotationRepository annotationRepository, ClassLoader classLoader) throws Exception
Scan for annotations in the URLs specified- Parameters:
connector- The connector adapter metadataannotationRepository- annotationRepository to useclassLoader- The class loader used to generate the repository- Returns:
- The updated metadata
- Throws:
Exception- Thrown if an error occurs
-
process
public Connector process(AnnotationRepository annotationRepository, String xmlResourceAdapterClass, ClassLoader classLoader) throws Exception
Process annotations- Parameters:
annotationRepository- The annotation repositoryxmlResourceAdapterClass- resource adpater class name as define in xmlclassLoader- The class loader used to generate the repository- Returns:
- The updated metadata
- Throws:
Exception- Thrown if an error occurs
-
-