com.ca.jcs.meta
Class MetaConnectorConfig

java.lang.Object
  extended by com.ca.jcs.cfg.ConnectorConfig
      extended by com.ca.jcs.meta.MetaConnectorConfig
Direct Known Subclasses:
JDBCMetaConnectorConfig, MetaPoolingConnectorConfig

public class MetaConnectorConfig
extends ConnectorConfig

Common configuration for connectors configured via metadata - adds optional support for specification of VirtualContainerConfigs used to create virtual containers around object types in otherwise non-hierarchical connectors. For instance many flat connectors (eg AS400) create virtual "Accounts" and "Groups" containers to avoid having a single flat top-level container (the connector itself) which has all accounts and groups as its children. However, connector developers are now encouraged to specify virtual containers in metadata rather then using the virtual container support offered by this class.

Note that a connector (eg SQL, LND) can declare virtual containers for some objectclasses whilst implementing real containers (ie they are represented persistently on the target system managed by the connector) for others. However, there is no support at this point for the same objectclass appearing under both virtual and real containers under the one connector.


Field Summary
 
Fields inherited from class com.ca.jcs.cfg.ConnectorConfig
CONFIG_LOG
 
Constructor Summary
MetaConnectorConfig()
           
 
Method Summary
 boolean getAllowNonFilterableNamingAttrs()
          Normally placing MetaDataDefs.MD_IS_CONNECTOR_FILTERABLE == false on a naming attribute is not allowed by the JCS but for pathological connectors (eg PPS) this restriction needs to be relaxed, although we make it subject to this switch to prevent anyone being lazy when writing their connectors (filtering natively is far superior to doing it after the fact at the JCS level).
 String getContainerBaseObjectClass()
          Deprecated. Defining virtual containers in metadata is preferred over configuration in connector.xml since Identity Manager r12, refer to definition of eTDYNAccountContainer in sdkdyn_metadata.xml for an example.
 Collection<VirtualContainerConfig> getVirtualContainers()
          Deprecated. Defining virtual containers in metadata is preferred over configuration in connector.xml since Identity Manager r12, refer to definition of eTDYNAccountContainer in sdkdyn_metadata.xml for an example.
 void setAllowNonFilterableNamingAttrs(boolean allowNonFilterableNamingAttrs)
           
 void setContainerBaseObjectClass(String objectClass)
          Deprecated. Defining virtual containers in metadata is preferred over configuration in connector.xml since Identity Manager r12, refer to definition of eTDYNAccountContainer in sdkdyn_metadata.xml for an example.
 void setVirtualContainers(Collection<VirtualContainerConfig> virtualContainers)
          Deprecated. Defining virtual containers in metadata is preferred over configuration in connector.xml since Identity Manager r12, refer to definition of eTDYNAccountContainer in sdkdyn_metadata.xml for an example.
 
Methods inherited from class com.ca.jcs.cfg.ConnectorConfig
getAcceptedUnknownAttrIds, getAllowMetadataModify, getAttrHeaderMsgFormatId, getCacheManagerClass, getCacheManagerConfigReference, getConverters, getExceptionRetryMap, getObjHeaderMsgFormatId, getResilientDelay, getResilientMaxRetries, getRollbackConnectionAttrs, getStaticMetadataFile, getStaticMethodScriptStyleMetaDataFile, getStreamingQueryThreshold, getTypeConverter, getValidators, isCachingRequired, isCaseSensitive, isCheckObjectExistenceForDeletion, isFailOnUnknownAttrIds, isImmediateQueryFlush, isLazyConnect, isMapAcceptedUnknownAttrIds, isSearchExpensiveAttrs, isTransactional, isValidateFromConnector, isValidateToConnector, mergeMap, setAcceptedUnknownAttrIds, setAllowMetadataModify, setAttrHeaderMsgFormatId, setCacheManagerClass, setCacheManagerConfigReference, setCachingRequired, setCaseSensitive, setCheckObjectExistenceForDeletion, setConverters, setExceptionRetryMap, setFailOnUnknownAttrIds, setImmediateQueryFlush, setLazyConnect, setMapAcceptedUnknownAttrIds, setObjHeaderMsgFormatId, setResilientDelay, setResilientMaxRetries, setRollbackConnectionAttrs, setSearchExpensiveAttrs, setStaticMetadataFile, setStaticMethodScriptStyleMetaDataFile, setStreamingQueryThreshold, setTransactional, setValidateFromConnector, setValidateToConnector, setValidators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaConnectorConfig

public MetaConnectorConfig()
Method Detail

getAllowNonFilterableNamingAttrs

public boolean getAllowNonFilterableNamingAttrs()
Normally placing MetaDataDefs.MD_IS_CONNECTOR_FILTERABLE == false on a naming attribute is not allowed by the JCS but for pathological connectors (eg PPS) this restriction needs to be relaxed, although we make it subject to this switch to prevent anyone being lazy when writing their connectors (filtering natively is far superior to doing it after the fact at the JCS level).

Returns:
True if MD_IS_CONNECTOR_FILTERABLE == false should be allowed on naming attributes, in addition to other attributes.

setAllowNonFilterableNamingAttrs

public void setAllowNonFilterableNamingAttrs(boolean allowNonFilterableNamingAttrs)

getContainerBaseObjectClass

@Deprecated
public String getContainerBaseObjectClass()
Deprecated. Defining virtual containers in metadata is preferred over configuration in connector.xml since Identity Manager r12, refer to definition of eTDYNAccountContainer in sdkdyn_metadata.xml for an example.


setContainerBaseObjectClass

@Deprecated
public void setContainerBaseObjectClass(String objectClass)
Deprecated. Defining virtual containers in metadata is preferred over configuration in connector.xml since Identity Manager r12, refer to definition of eTDYNAccountContainer in sdkdyn_metadata.xml for an example.


getVirtualContainers

@Deprecated
public Collection<VirtualContainerConfig> getVirtualContainers()
Deprecated. Defining virtual containers in metadata is preferred over configuration in connector.xml since Identity Manager r12, refer to definition of eTDYNAccountContainer in sdkdyn_metadata.xml for an example.

Collection of virtual VirtualContainerConfigs presented to the client, even though the managed system actually has a flat model.


setVirtualContainers

@Deprecated
public void setVirtualContainers(Collection<VirtualContainerConfig> virtualContainers)
Deprecated. Defining virtual containers in metadata is preferred over configuration in connector.xml since Identity Manager r12, refer to definition of eTDYNAccountContainer in sdkdyn_metadata.xml for an example.



Created 2011-07-14 13:27 EST