Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.9.0)
E15995-08


oracle.wcps.people
Class PeopleConnectionsConnectionFactory

java.lang.Object
  extended by 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

Constructor Summary
PeopleConnectionsConnectionFactory(java.lang.String dataProviderName)
           

 

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

 

Constructor Detail

PeopleConnectionsConnectionFactory

public PeopleConnectionsConnectionFactory(java.lang.String dataProviderName)

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.9.0)
E15995-08


Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved.