Searched refs:binder (Results 1 - 25 of 62) sorted by relevance

123

/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/api/
H A DDataLayerConnectionModule.java54 PrivateBinder binder = binder().withSource(connectionType);
56 binder.bind(ConnectionType.class).toInstance(connectionType);
58 configureConnections(binder);
59 configureTaskExecutor(binder);
60 configureDataStore(binder);
62 expose(binder, ConnectionFactory.class);
63 expose(binder, QueryFactory.class);
66 expose(binder, QueueConfiguration.class);
70 expose(binder, TaskFactor
75 expose(PrivateBinder binder, Class<T> type) argument
91 configureConnections(PrivateBinder binder) argument
108 configureTaskExecutor(PrivateBinder binder) argument
124 configureDataStore(PrivateBinder binder) argument
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/api/
H A DDataLayerConnectionModule.java54 PrivateBinder binder = binder().withSource(connectionType);
56 binder.bind(ConnectionType.class).toInstance(connectionType);
58 configureConnections(binder);
59 configureTaskExecutor(binder);
60 configureDataStore(binder);
62 expose(binder, ConnectionFactory.class);
63 expose(binder, QueryFactory.class);
66 expose(binder, QueueConfiguration.class);
70 expose(binder, TaskFactor
75 expose(PrivateBinder binder, Class<T> type) argument
91 configureConnections(PrivateBinder binder) argument
108 configureTaskExecutor(PrivateBinder binder) argument
124 configureDataStore(PrivateBinder binder) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/ldap/
H A DLdapDataLayerConnectionModule.java56 protected void configureConnections(PrivateBinder binder) { argument
57 binder.bind(QueryFactory.class).to(LdapQueryFactory.class);
58 binder.bind(LdapTokenAttributeConversion.class);
59 binder.bind(LdapSearchHandler.class);
60 binder.bind(EntryPartialTokenConverter.class);
61 binder.bind(EntryTokenConverter.class);
62 binder.bind(LdapQueryBuilder.class);
63 binder.bind(LdapQueryFactory.class);
64 binder.bind(ConnectionConfig.class).annotatedWith(Names.named(DataLayerConstants.EXTERNAL_CONFIG))
66 binder
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/ldap/
H A DLdapDataLayerConnectionModule.java56 protected void configureConnections(PrivateBinder binder) { argument
57 binder.bind(QueryFactory.class).to(LdapQueryFactory.class);
58 binder.bind(LdapTokenAttributeConversion.class);
59 binder.bind(LdapSearchHandler.class);
60 binder.bind(EntryPartialTokenConverter.class);
61 binder.bind(EntryTokenConverter.class);
62 binder.bind(LdapQueryBuilder.class);
63 binder.bind(LdapQueryFactory.class);
64 binder.bind(ConnectionConfig.class).annotatedWith(Names.named(DataLayerConstants.EXTERNAL_CONFIG))
66 binder
[all...]
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/
H A DCTSBasedGuiceTestCase.java51 * @param binder Non null.
54 protected void configureOverrideBindings(Binder binder) { argument
55 super.configureOverrideBindings(binder);
58 binder.bind(AuditEventPublisher.class).toInstance(mock(AuditEventPublisher.class));
59 binder.bind(AuditServiceConfigurationProvider.class).toInstance(mock(AuditServiceConfigurationProvider.class));
60 binder.bind(AuditServiceProvider.class).toInstance(mock(AuditServiceProvider.class));
63 binder.bind(NotificationBroker.class).toInstance(mock(NotificationBroker.class));
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/impl/
H A DCTSAsyncConnectionModule.java45 protected void configureTaskExecutor(PrivateBinder binder) { argument
46 binder().bind(ExecutorService.class).toProvider(
47 binder().getProvider(Key.get(ExecutorService.class, Names.named(CoreTokenConstants.CTS_WORKER_POOL))));
48 binder().bind(QueueConfiguration.class).to(CTSQueueConfiguration.class);
49 binder().bind(SeriesTaskExecutorThreadFactory.class);
50 super.configureTaskExecutor(binder);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/impl/
H A DCTSAsyncConnectionModule.java45 protected void configureTaskExecutor(PrivateBinder binder) { argument
46 binder().bind(ExecutorService.class).toProvider(
47 binder().getProvider(Key.get(ExecutorService.class, Names.named(CoreTokenConstants.CTS_WORKER_POOL))));
48 binder().bind(QueueConfiguration.class).to(CTSQueueConfiguration.class);
49 binder().bind(SeriesTaskExecutorThreadFactory.class);
50 super.configureTaskExecutor(binder);
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/
H A DSMSConnectionModule.java36 protected void configureTaskExecutor(PrivateBinder binder) { argument
/forgerock/openam-v13/openam-rest/src/main/java/com/sun/identity/rest/
H A DLegacyRestGuiceModule.java34 Multibinder.newSetBinder(binder(), LegacyRestEndpoint.class);
/forgerock/openam-v13/openam-entitlements/src/main/java/com/sun/identity/entitlement/rest/
H A DEntitlementLegacyRestGuiceModule.java35 Multibinder.newSetBinder(binder(), LegacyRestEndpoint.class);
/forgerock/openam/openam-rest/src/main/java/com/sun/identity/rest/
H A DLegacyRestGuiceModule.java34 Multibinder.newSetBinder(binder(), LegacyRestEndpoint.class);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/
H A DSMSConnectionModule.java36 protected void configureTaskExecutor(PrivateBinder binder) { argument
/forgerock/openam/openam-entitlements/src/main/java/com/sun/identity/entitlement/rest/
H A DEntitlementLegacyRestGuiceModule.java35 Multibinder.newSetBinder(binder(), LegacyRestEndpoint.class);
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/
H A DResourceSetConnectionModule.java43 protected void configureDataStore(PrivateBinder binder) { argument
45 binder.bind(storeKey).to(ResourceSetTokenDataStore.class).in(Singleton.class);
46 binder.expose(storeKey);
H A DUmaAuditConnectionModule.java42 protected void configureDataStore(PrivateBinder binder) { argument
44 binder.bind(storeKey).to(UmaAuditTokenDatastore.class).in(Singleton.class);
45 binder.expose(storeKey);
H A DUmaPendingRequestConnectionModule.java43 protected void configureDataStore(PrivateBinder binder) { argument
45 binder.bind(storeKey).to(UmaPendingRequestTokenDataStore.class).in(Singleton.class);
46 binder.expose(storeKey);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/
H A DResourceSetConnectionModule.java43 protected void configureDataStore(PrivateBinder binder) { argument
45 binder.bind(storeKey).to(ResourceSetTokenDataStore.class).in(Singleton.class);
46 binder.expose(storeKey);
H A DUmaAuditConnectionModule.java42 protected void configureDataStore(PrivateBinder binder) { argument
44 binder.bind(storeKey).to(UmaAuditTokenDatastore.class).in(Singleton.class);
45 binder.expose(storeKey);
H A DUmaPendingRequestConnectionModule.java43 protected void configureDataStore(PrivateBinder binder) { argument
45 binder.bind(storeKey).to(UmaPendingRequestTokenDataStore.class).in(Singleton.class);
46 binder.expose(storeKey);
/forgerock/openam/openam-oauth2-saml2/src/main/java/org/forgerock/openam/oauth2/saml2/core/
H A DOAuth2Saml2GuiceModule.java31 MapBinder.newMapBinder(binder(), String.class, GrantTypeHandler.class);
/forgerock/openam-v13/openam-http/src/test/java/org/forgerock/openam/http/
H A DOpenAMHttpApplicationTest.java48 public void configure(Binder binder) { argument
49 binder.bind(Key.get(Handler.class, Names.named("HttpHandler"))).toInstance(handler);
H A DHttpRouterProviderTest.java80 public void configure(Binder binder) { argument
81 binder.bind(Key.get(HttpRoute.class, Names.named(HTTP_ROUTE_ONE_NAME))).toInstance(httpRouteOne);
82 binder.bind(Key.get(HttpRoute.class, Names.named(HTTP_ROUTE_TWO_NAME))).toInstance(httpRouteTwo);
83 binder.bind(new TypeLiteral<Iterable<HttpRouteProvider>>() { }).toInstance(httpRouteProviders);
/forgerock/openam/openam-http/src/test/java/org/forgerock/openam/http/
H A DOpenAMHttpApplicationTest.java47 public void configure(Binder binder) { argument
48 binder.bind(Key.get(Handler.class, Names.named("HttpHandler"))).toInstance(handler);
/forgerock/openam-v13/openam-rest/src/test/java/org/forgerock/openam/rest/
H A DRestRouterIT.java185 public void configure(Binder binder) { argument
187 = newMapBinder(binder, AuditConstants.Component.class, AbstractHttpAccessAuditFilter.class);
191 binder.bind(AuditEventPublisher.class).toInstance(auditEventPublisher);
192 binder.bind(AuditServiceProvider.class).toInstance(auditServiceProvider);
195 binder.bind(Key.get(SingletonResourceProvider.class, Names.named("ConfigResource"))).toInstance(configResource);
196 binder.bind(Key.get(CollectionResourceProvider.class, Names.named("UsersResource"))).toInstance(usersResource);
197 binder.bind(Key.get(CollectionResourceProvider.class, Names.named("InternalResource"))).toInstance(internalResource);
198 binder.bind(Key.get(Object.class, Names.named("DashboardResource"))).toInstance(dashboardResource);
199 binder.bind(Key.get(Object.class, Names.named("AuthenticateResource"))).toInstance(authenticateResource);
202 binder
217 configureOverrideBindings(Binder binder) argument
[all...]
/forgerock/openam-v13/openam-audit/openam-audit-core/src/main/java/org/forgerock/openam/audit/
H A DAuditCoreGuiceModule.java42 MapBinder.newMapBinder(binder(), AuditConstants.Component.class, AbstractHttpAccessAuditFilter.class);

Completed in 42 milliseconds

123