When you use Bundle Builder to create a bundle for a new connector, the tool does the following:
This is listed in the Bundle-Classpath property in the bundle manifest.
This will be identified as the main connector jar file.
This class is used by the core connector server when it needs to use java reflection to creating a new instance of a class that is contained in the connector bundle. . OSGi requires that the classloader of the bundle that contains the class be used when creating a new instance of a class.
The compiled class and the src will be included in the root folder of the connector bundle.
This requires adding a bean definition for the connector class factory, and injecting the bean definition into the impl bundle definition in the connector.xml. The modified connector.xml will be located in the META-INF/spring folder of the connector bundle.
This will expose the impl bundle as a service to CA IAM CS when the bundle is deployed and started. The name of this file will be connector-osgi.xml and will be located in the META-INF/spring folder of the bundle.
The connector bundle is now ready to be used.
Copyright © 2013 CA.
All rights reserved.
|
|