Searched refs:ConnectionFactory (Results 1 - 25 of 273) sorted by relevance

1234567891011

/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/providers/
H A DConnectionFactoryProvider.java18 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
22 * Represents the ability to generate ConnectionFactory instances.
26 * Create an instance of a ConnectionFactory.
28 * @return Non null ConnectionFactory.
31 * prevented the ConnectionFactory being instantiated.
33 ConnectionFactory<C> createFactory() throws InvalidConfigurationException;
H A DDataLayerConnectionFactoryCache.java19 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
33 * Abstraction for the ConnectionFactory provider implementations.
35 * Manages details around the {@link ConnectionFactory} instances. In particular
36 * ensures that only one ConnectionFactory will be generated for each
37 * associated {@link ConnectionType}. Also ensures that each ConnectionFactory issued
44 public class DataLayerConnectionFactoryCache implements Provider<ConnectionFactory>, ShutdownListener {
50 private ConnectionFactory factory = null;
72 * Get the requested ConnectionFactory. If this factory has not been previously
82 public synchronized ConnectionFactory get() throws InvalidConfigurationException {
87 debug("Requesting ConnectionFactory fo
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/providers/
H A DConnectionFactoryProvider.java18 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
22 * Represents the ability to generate ConnectionFactory instances.
26 * Create an instance of a ConnectionFactory.
28 * @return Non null ConnectionFactory.
31 * prevented the ConnectionFactory being instantiated.
33 ConnectionFactory<C> createFactory() throws InvalidConfigurationException;
H A DDataLayerConnectionFactoryCache.java19 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
33 * Abstraction for the ConnectionFactory provider implementations.
35 * Manages details around the {@link ConnectionFactory} instances. In particular
36 * ensures that only one ConnectionFactory will be generated for each
37 * associated {@link ConnectionType}. Also ensures that each ConnectionFactory issued
44 public class DataLayerConnectionFactoryCache implements Provider<ConnectionFactory>, ShutdownListener {
50 private ConnectionFactory factory = null;
72 * Get the requested ConnectionFactory. If this factory has not been previously
82 public synchronized ConnectionFactory get() throws InvalidConfigurationException {
87 debug("Requesting ConnectionFactory fo
[all...]
/forgerock/openam-v13/openam-audit/openam-audit-core/src/main/java/org/forgerock/openam/audit/
H A DAuditServiceProvider.java19 import org.forgerock.json.resource.ConnectionFactory;
23 * {@link ConnectionFactory}.
/forgerock/openam/openam-audit/openam-audit-core/src/main/java/org/forgerock/openam/audit/
H A DAuditServiceProvider.java19 import org.forgerock.json.resource.ConnectionFactory;
23 * {@link ConnectionFactory}.
/forgerock/openidm-v4/openidm-router/src/main/java/org/forgerock/openidm/router/
H A DIDMConnectionFactory.java20 import org.forgerock.json.resource.ConnectionFactory;
25 * An ConnectionFactory extension that also permits obtaining an "external" Connection
28 public interface IDMConnectionFactory extends ConnectionFactory {
/forgerock/openidm-v4/openidm-router/src/test/java/org/forgerock/openidm/router/
H A DIDMConnectionFactoryWrapper.java19 import org.forgerock.json.resource.ConnectionFactory;
24 * An IDMConnectionFactory that wraps a normal ConnectionFactory. Used to satisfy test cases.
28 private final ConnectionFactory connectionFactory;
29 public IDMConnectionFactoryWrapper(ConnectionFactory connectionFactory) {
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/monitoring/impl/connections/
H A DMonitoredCTSConnectionFactory.java20 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
31 public class MonitoredCTSConnectionFactory<C> implements ConnectionFactory<C> {
34 private final ConnectionFactory<C> connectionFactory;
51 * @param connectionFactory The ConnectionFactory to use to generate connections
54 public MonitoredCTSConnectionFactory(ConnectionFactory<C> connectionFactory,
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/api/
H A DConnectionFactory.java27 public interface ConnectionFactory<T> extends Closeable { interface in inherits:Closeable
/forgerock/openidm-v4/openidm-authnfilter/src/main/java/org/forgerock/openidm/auth/
H A DPassthroughAuthenticator.java24 import org.forgerock.json.resource.ConnectionFactory;
37 private final Provider<ConnectionFactory> connectionFactoryProvider;
43 * @param connectionFactoryProvider the ConnectionFactory for making an authenticate request on the router
46 public PassthroughAuthenticator(Provider<ConnectionFactory> connectionFactoryProvider,
64 final ConnectionFactory connectionFactory = connectionFactoryProvider.get();
66 throw new InternalServerErrorException("No ConnectionFactory available");
H A DAuthenticatorFactory.java23 import org.forgerock.json.resource.ConnectionFactory;
44 private final Provider<ConnectionFactory> connectionFactoryProvider;
47 public AuthenticatorFactory(final Provider<ConnectionFactory> connectionFactoryProvider,
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/monitoring/impl/connections/
H A DMonitoredCTSConnectionFactory.java20 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
31 public class MonitoredCTSConnectionFactory<C> implements ConnectionFactory<C> {
34 private final ConnectionFactory<C> connectionFactory;
51 * @param connectionFactory The ConnectionFactory to use to generate connections
54 public MonitoredCTSConnectionFactory(ConnectionFactory<C> connectionFactory,
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/api/
H A DConnectionFactory.java27 public interface ConnectionFactory<T> extends Closeable { interface in inherits:Closeable
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/impl/
H A DCTSAsyncConnectionModule.java27 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
54 protected Class<? extends javax.inject.Provider<ConnectionFactory>> getConnectionFactoryProviderType() {
59 * This provider provides ConnectionFactory instances that are wrapped in a monitoring factory.
61 private static class CTSConnectionFactoryProvider implements Provider<ConnectionFactory> {
72 public ConnectionFactory get() {
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/impl/
H A DCTSAsyncConnectionModule.java27 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
54 protected Class<? extends javax.inject.Provider<ConnectionFactory>> getConnectionFactoryProviderType() {
59 * This provider provides ConnectionFactory instances that are wrapped in a monitoring factory.
61 private static class CTSConnectionFactoryProvider implements Provider<ConnectionFactory> {
72 public ConnectionFactory get() {
/forgerock/openidm-v4/openidm-provisioner-openicf/src/main/java/org/forgerock/openidm/provisioner/openicf/syncfailure/
H A DDeadLetterQueueHandler.java20 import org.forgerock.json.resource.ConnectionFactory;
42 private final ConnectionFactory connectionFactory;
49 public DeadLetterQueueHandler(ConnectionFactory connectionFactory) {
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/ldap/
H A DCTSDJLDAPv3PersistentSearchBuilder.java18 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
29 private final ConnectionFactory connectionFactory;
40 * @param connectionFactory The {@link ConnectionFactory<org.forgerock.opendj.ldap.Connection>}
43 public CTSDJLDAPv3PersistentSearchBuilder(ConnectionFactory connectionFactory) {
/forgerock/openidm-v4/openidm-core/src/test/java/org/forgerock/openidm/sync/impl/
H A DReconciliationServiceTest.java33 import org.forgerock.json.resource.ConnectionFactory;
54 final ConnectionFactory connectionFactory = mock(ConnectionFactory.class);
88 final ConnectionFactory connectionFactory = mock(ConnectionFactory.class);
105 private ReconciliationService createReconciliationService(final ConnectionFactory connectionFactory) {
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/impl/query/reaper/
H A DReaperConnection.java25 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
41 private final ConnectionFactory<C> factory;
51 public ReaperConnection(@DataLayer(ConnectionType.CTS_REAPER) ConnectionFactory factory, ReaperImpl impl) {
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/monitoring/impl/connections/
H A DMonitoredCTSConnectionFactoryTest.java26 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
36 private ConnectionFactory<Object> connectionFactory;
42 connectionFactory = mock(ConnectionFactory.class);
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/sm/datalayer/providers/
H A DDataLayerConnectionFactoryCacheTest.java25 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
38 private ConnectionFactory mockFactory;
50 mockFactory = mock(ConnectionFactory.class);
/forgerock/openam-v13/openam-upgrade/src/test/java/org/forgerock/openam/upgrade/steps/
H A DUpgradeServerDefaultsStepTest.java29 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
39 private ConnectionFactory connectionFactory;
44 connectionFactory = mock(ConnectionFactory.class);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/impl/query/worker/queries/
H A DCTSWorkerBaseQuery.java25 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
42 private final ConnectionFactory<C> factory;
46 public CTSWorkerBaseQuery(ConnectionFactory<C> factory) {
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/monitoring/impl/connections/
H A DMonitoredCTSConnectionFactoryTest.java26 import org.forgerock.openam.sm.datalayer.api.ConnectionFactory;
36 private ConnectionFactory<Object> connectionFactory;
42 connectionFactory = mock(ConnectionFactory.class);

Completed in 29 milliseconds

1234567891011