Class Annotations

    • Constructor Detail

      • Annotations

        public Annotations()
        Constructor
    • 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 metadata
        annotationRepository - annotationRepository to use
        classLoader - 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 repository
        xmlResourceAdapterClass - resource adpater class name as define in xml
        classLoader - The class loader used to generate the repository
        Returns:
        The updated metadata
        Throws:
        Exception - Thrown if an error occurs