|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.wcps.activity.provider.AGConnectionFactory
public class AGConnectionFactory
Factory to create new ActivityGraphConnection objects in an efficient manner, since they're created each time a Scenario is invoked. ActivityGraphConnection doesn't use ScenarioContext, but AGExecutableResource has a RestClientFactory that uses the ScenarioContext. An instance of ActivityGraphConnection and its AGExecutableResources will be kept in a cache for each DataProvider/connection name combination. Those objects will be copied via copy constructors when needed.
ConnectionFactoryCache| Constructor Summary | |
|---|---|
AGConnectionFactory(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 |
|---|
public AGConnectionFactory(java.lang.String dataProviderName)
| Method Detail |
|---|
public IConnection getConnection(IConnectionConfig config)
config - The config for the connection.
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||