Previous Topic: Style Processor Methods

Next Topic: Connection Pooling Considerations

How Connectors Work

The Java CS connectors return an instance of the com.ca.jcs.ConnectionManager class using the getConnectionManager() method to their constituent processors and to the Java CS framework.

The SDK connector works by persisting data to local files. Therefore its notion of a connection is a bit contrived, and is implemented to return a reference to the parent directory into which object data files are written. The SDK attribute-style processor’s methods have been wrapped in try and catch blocks, to demonstrate how code which that accesses a connection manager is structured.

Note: For more information see com.ca.jcs.sdk.SDKAttributeStyleOpProcessor and com.ca.jcs.sdk.SDKConnectionManager in the JCS Javadoc in the CA Identity Manager bookshelf, and the source files included with the SDK.