Skip navigation links
oracle.wcps.people
Class PeopleConnectionsConnectionFactory
java.lang.Object
oracle.wcps.people.PeopleConnectionsConnectionFactory
-
public class PeopleConnectionsConnectionFactory
- extends java.lang.Object
Factory to create new CMISConnection objects in an efficient manner, since they're created each time a Scenario is invoked. CMISConnection URLs do not use utoken, so those can be re-used across users. An instance of CMISConnection and its CMISExecutableResources will be kept in a cache for each DataProvider/connection name combination. Those objects will be copied via copy constructors when needed.
- See Also:
oracle.wcps.dataprovider.base.ConnectionFactoryCache
Method Summary |
IConnection |
getConnection(IConnectionConfig config)
Check the cache for the connection, create one if it's not there and add to cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeopleConnectionsConnectionFactory
public PeopleConnectionsConnectionFactory(java.lang.String dataProviderName)
getConnection
public IConnection getConnection(IConnectionConfig config)
- Check the cache for the connection, create one if it's not there and add to cache. Then, create a copy of the cached connection via its copy constructor.
-
- Parameters:
config
- The config for the connection.
- Returns:
- an instance of the connection with its executable resources
Skip navigation links
Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved.