Searched defs:connectionType (Results 1 - 14 of 14) sorted by relevance

/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/providers/
H A DDataLayerConnectionFactoryCache.java48 private final ConnectionType connectionType; field in class:DataLayerConnectionFactoryCache
61 public DataLayerConnectionFactoryCache(ConnectionType connectionType, argument
65 this.connectionType = connectionType;
87 debug("Requesting ConnectionFactory for type {0}", connectionType.name());
H A DLdapConnectionFactoryProvider.java69 private final ConnectionType connectionType; field in class:LdapConnectionFactoryProvider
79 public LdapConnectionFactoryProvider(ConnectionType connectionType, argument
86 this.connectionType = connectionType;
96 ConnectionConfig config = configFactory.getConfig(connectionType);
97 int timeout = timeoutConfig.getTimeout(connectionType);
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/core/guice/
H A DDataLayerGuiceModuleTest.java91 public void testBindingConfiguration(Class<?> type, ConnectionType connectionType) throws Exception { argument
92 InjectorHolder.getInstance(Key.get(type, DataLayer.Types.typed(connectionType)));
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/providers/
H A DDataLayerConnectionFactoryCache.java48 private final ConnectionType connectionType; field in class:DataLayerConnectionFactoryCache
61 public DataLayerConnectionFactoryCache(ConnectionType connectionType, argument
65 this.connectionType = connectionType;
87 debug("Requesting ConnectionFactory for type {0}", connectionType.name());
H A DLdapConnectionFactoryProvider.java70 private final ConnectionType connectionType; field in class:LdapConnectionFactoryProvider
80 public LdapConnectionFactoryProvider(ConnectionType connectionType, argument
87 this.connectionType = connectionType;
97 ConnectionConfig config = configFactory.getConfig(connectionType);
98 int timeout = timeoutConfig.getTimeout(connectionType);
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/core/guice/
H A DDataLayerGuiceModuleTest.java103 public void testBindingConfiguration(Class<?> type, ConnectionType connectionType) throws Exception { argument
104 InjectorHolder.getInstance(Key.get(type, DataLayer.Types.typed(connectionType)));
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/
H A DConnectionConfigFactory.java69 * @param connectionType The connection type.
75 public ConnectionConfig getConfig(ConnectionType connectionType) throws InvalidConfigurationException { argument
87 if (ConnectionType.CTS_REAPER.equals(connectionType)) {
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/api/
H A DDataLayerConnectionModule.java39 protected ConnectionType connectionType; field in class:DataLayerConnectionModule
48 public void setConnectionType(ConnectionType connectionType) { argument
49 this.connectionType = connectionType;
54 PrivateBinder binder = binder().withSource(connectionType);
56 binder.bind(ConnectionType.class).toInstance(connectionType);
76 Key<T> key = Key.get(type, DataLayer.Types.typed(connectionType));
135 private final ConnectionType connectionType; field in class:DataLayerConnectionModule.SemaphoreProvider
138 public SemaphoreProvider(ConnectionType connectionType, argument
140 this.connectionType
[all...]
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/
H A DPooledTaskExecutor.java60 * @param connectionType The type of connection this executor is for.
66 @Named(DataLayerConstants.DATA_LAYER_DEBUG) Debug debug, ConnectionType connectionType,
73 this.maximumPoolSize = connectionConfig.getConfig(connectionType).getMaxConnections();
75 throw new IllegalStateException("No connections allocated for " + connectionType);
65 PooledTaskExecutor(Provider<SimpleTaskExecutor> simpleTaskExecutorProvider, @Named(DataLayerConstants.DATA_LAYER_DEBUG) Debug debug, ConnectionType connectionType, ConnectionConfigFactory connectionConfig, @Named(SEMAPHORE) Semaphore semaphore) argument
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/
H A DConnectionConfigFactory.java69 * @param connectionType The connection type.
75 public ConnectionConfig getConfig(ConnectionType connectionType) throws InvalidConfigurationException { argument
87 if (isCtsWorkerConnectionType(connectionType)) {
94 private boolean isCtsWorkerConnectionType(ConnectionType connectionType) { argument
95 return ConnectionType.CTS_EXPIRY_DATE_WORKER.equals(connectionType)
96 || ConnectionType.CTS_MAX_SESSION_TIMEOUT_WORKER.equals(connectionType)
97 || ConnectionType.CTS_SESSION_IDLE_TIMEOUT_WORKER.equals(connectionType);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/api/
H A DDataLayerConnectionModule.java39 protected ConnectionType connectionType; field in class:DataLayerConnectionModule
48 public void setConnectionType(ConnectionType connectionType) { argument
49 this.connectionType = connectionType;
54 PrivateBinder binder = binder().withSource(connectionType);
56 binder.bind(ConnectionType.class).toInstance(connectionType);
76 Key<T> key = Key.get(type, DataLayer.Types.typed(connectionType));
135 private final ConnectionType connectionType; field in class:DataLayerConnectionModule.SemaphoreProvider
138 public SemaphoreProvider(ConnectionType connectionType, argument
140 this.connectionType
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/
H A DPooledTaskExecutor.java62 * @param connectionType The type of connection this executor is for.
68 @Named(DataLayerConstants.DATA_LAYER_DEBUG) Debug debug, ConnectionType connectionType,
75 this.maximumPoolSize = connectionConfig.getConfig(connectionType).getMaxConnections();
77 throw new IllegalStateException("No connections allocated for " + connectionType);
67 PooledTaskExecutor(Provider<SimpleTaskExecutor> simpleTaskExecutorProvider, @Named(DataLayerConstants.DATA_LAYER_DEBUG) Debug debug, ConnectionType connectionType, ConnectionConfigFactory connectionConfig, @Named(SEMAPHORE) Semaphore semaphore) argument
/forgerock/openam-v13/openam-authentication/openam-auth-jdbc/src/main/java/com/sun/identity/authentication/modules/jdbc/
H A DJDBC.java96 private String connectionType; field in class:JDBC
140 connectionType = CollectionHelper.getMapAttr(
142 if (connectionType == null) {
149 connectionType);
152 if (connectionType.equals("JNDI")) {
484 connectionType = null;
/forgerock/openam/openam-authentication/openam-auth-jdbc/src/main/java/com/sun/identity/authentication/modules/jdbc/
H A DJDBC.java95 private String connectionType; field in class:JDBC
139 connectionType = CollectionHelper.getMapAttr(
141 if (connectionType == null) {
148 connectionType);
151 if (connectionType.equals("JNDI")) {
486 connectionType = null;

Completed in 57 milliseconds