Searched defs:binder (Results 1 - 25 of 34) sorted by relevance

12

/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/sm/
H A DSMSConnectionModule.java36 protected void configureTaskExecutor(PrivateBinder binder) { argument
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/
H A DSMSConnectionModule.java36 protected void configureTaskExecutor(PrivateBinder binder) { argument
/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-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-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-v13/openam-http/src/test/java/org/forgerock/openam/http/
H A DHandlerProviderTest.java56 public void configure(Binder binder) { argument
57 binder.bind(key).toProvider(new Provider<Handler>() {
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-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/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/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-http/src/test/java/org/forgerock/openam/http/
H A DGuiceHandlerTest.java56 public void configure(Binder binder) { argument
57 binder.bind(key).toProvider(new Provider<Handler>() {
H A DOpenAMHttpApplicationTest.java47 public void configure(Binder binder) { argument
48 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-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-v13/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/conditions/environment/
H A DScriptConditionTest.java102 public void configure(Binder binder) { argument
103 binder
107 binder
113 binder
119 binder
/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/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/conditions/environment/
H A DScriptConditionTest.java102 public void configure(Binder binder) { argument
103 binder
107 binder
113 binder
119 binder
/forgerock/openam-v13/openam-audit/openam-audit-core/src/test/java/org/forgerock/openam/audit/
H A DAuditServiceProviderImplTest.java85 public void configure(Binder binder) { argument
86 binder.bind(MockAuditEventHandlerFactory.class).toInstance(new MockAuditEventHandlerFactory());
/forgerock/openam/openam-rest/src/test/java/org/forgerock/openam/notifications/
H A DNotificationsWebSocketFilterTest.java60 public void configure(Binder binder) { argument
64 binder.bind(SSOTokenFactory.class).toInstance(ssoTokenFactory);
65 binder.bind(AuthUtilsWrapper.class).toInstance(authUtilsWrapper);
66 binder.bind(CoreWrapper.class).toInstance(coreWrapper);

Completed in 112 milliseconds

12