Searched refs:shutdownManager (Results 1 - 22 of 22) sorted by relevance

/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/utils/
H A DShutdownMonitor.java35 * @param shutdownManager Required.
38 public ShutdownMonitor(ShutdownManager shutdownManager) { argument
39 shutdownManager.addShutdownListener(new ShutdownListener() {
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/utils/
H A DShutdownMonitor.java35 * @param shutdownManager Required.
38 public ShutdownMonitor(ShutdownManager shutdownManager) { argument
39 shutdownManager.addShutdownListener(new ShutdownListener() {
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/shared/guice/
H A DCloseableHttpClientProvider.java43 private ShutdownManager shutdownManager; field in class:CloseableHttpClientProvider
47 * @param shutdownManager The commons shutdown manager implementation.
50 public CloseableHttpClientProvider(ShutdownManager shutdownManager) { argument
51 this.shutdownManager = shutdownManager;
64 shutdownManager.addShutdownListener(new ShutdownListener() {
/forgerock/openam/openam-notifications-integration/src/main/java/org/forgerock/openam/notifications/integration/
H A DNotificationsShutdown.java36 ShutdownManager shutdownManager = InjectorHolder.getInstance(ShutdownManager.class);
39 Reject.ifNull(shutdownManager, "Shutdown manager must not be null");
42 shutdownManager.addShutdownListener(new ShutdownListener() {
/forgerock/openam/openam-audit/openam-audit-context/src/main/java/org/forgerock/openam/audit/context/
H A DExtendedExecutorServiceFactory.java41 private final ShutdownManager shutdownManager; field in class:ExtendedExecutorServiceFactory
46 * @param shutdownManager Required to ensure each ExecutorService will be shutdown.
48 ExtendedExecutorServiceFactory(ShutdownManager shutdownManager) { argument
49 super(shutdownManager);
50 this.shutdownManager = shutdownManager;
79 shutdownManager.addShutdownListener(
H A DAuditRequestContextPropagatingExecutorServiceFactory.java41 * @param shutdownManager The {@code ShutdownManager}.
43 public AuditRequestContextPropagatingExecutorServiceFactory(ShutdownManager shutdownManager) { argument
44 delegate = new ExtendedExecutorServiceFactory(shutdownManager);
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/shared/concurrency/
H A DThreadMonitor.java87 private final ShutdownManager shutdownManager; field in class:ThreadMonitor
103 * @param shutdownManager Required to detect shutdown signals.
108 ShutdownManager shutdownManager,
110 this(workPool, shutdownManager, debug, DEFAULT_MAX_RECOVERY_DELAY, DEFAULT_RECOVERY_DELAY_DELTA);
122 * @param shutdownManager Required to detect shutdown signals.
130 ShutdownManager shutdownManager,
135 this.shutdownManager = shutdownManager;
213 shutdownManager.addShutdownListener(new ShutdownListener() {
107 ThreadMonitor(ExecutorService workPool, ShutdownManager shutdownManager, @Named(SharedGuiceModule.DEBUG_THREAD_MANAGER) Debug debug) argument
129 ThreadMonitor(ExecutorService workPool, ShutdownManager shutdownManager, @Named(SharedGuiceModule.DEBUG_THREAD_MANAGER) Debug debug, int maxRecoveryDelayInMS, int recoveryDelayDeltaInMS) argument
/forgerock/openam-v13/openam-audit/openam-audit-context/src/main/java/org/forgerock/openam/audit/context/
H A DAuditRequestContextPropagatingExecutorServiceFactory.java39 * @param shutdownManager The {@code ShutdownManager}.
41 public AuditRequestContextPropagatingExecutorServiceFactory(ShutdownManager shutdownManager) { argument
42 super(shutdownManager);
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/shared/concurrency/
H A DThreadMonitor.java75 private final ShutdownManager shutdownManager; field in class:ThreadMonitor
87 * @param shutdownManager Required to detect shutdown signals.
92 ShutdownManager shutdownManager,
95 this.shutdownManager = shutdownManager;
171 shutdownManager.addShutdownListener(new ShutdownListener() {
91 ThreadMonitor(ExecutorService workPool, ShutdownManager shutdownManager, @Named(SharedGuiceModule.DEBUG_THREAD_MANAGER) Debug debug) argument
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/providers/
H A DDataLayerConnectionFactoryCache.java57 * @param shutdownManager Required to monitor shutdown process.
62 ShutdownManager shutdownManager,
67 shutdownManager.addShutdownListener(this);
61 DataLayerConnectionFactoryCache(ConnectionType connectionType, ShutdownManager shutdownManager, ConnectionFactoryProvider connectionFactoryProvider, @Named(DataLayerConstants.DATA_LAYER_DEBUG) Debug debug) argument
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/providers/
H A DDataLayerConnectionFactoryCache.java57 * @param shutdownManager Required to monitor shutdown process.
62 ShutdownManager shutdownManager,
67 shutdownManager.addShutdownListener(this);
61 DataLayerConnectionFactoryCache(ConnectionType connectionType, ShutdownManager shutdownManager, ConnectionFactoryProvider connectionFactoryProvider, @Named(DataLayerConstants.DATA_LAYER_DEBUG) Debug debug) argument
/forgerock/openam-v13/openam-audit/openam-audit-core/src/main/java/org/forgerock/openam/audit/
H A DAuditServiceProviderImpl.java54 private final ShutdownManager shutdownManager; field in class:AuditServiceProviderImpl
61 * @param shutdownManager The shutdown manager to register the shutdown listener to.
64 public AuditServiceProviderImpl(AuditServiceConfigurationProvider configProvider, ShutdownManager shutdownManager) { argument
66 this.shutdownManager = shutdownManager;
108 shutdownManager.addShutdownListener(new ShutdownListener() {
/forgerock/openam/openam-audit/openam-audit-core/src/main/java/org/forgerock/openam/audit/
H A DAuditServiceProviderImpl.java54 private final ShutdownManager shutdownManager; field in class:AuditServiceProviderImpl
61 * @param shutdownManager The shutdown manager to register the shutdown listener to.
64 public AuditServiceProviderImpl(AuditServiceConfigurationProvider configProvider, ShutdownManager shutdownManager) { argument
66 this.shutdownManager = shutdownManager;
108 shutdownManager.addShutdownListener(new ShutdownListener() {
/forgerock/openam/openam-audit/openam-audit-configuration/src/main/java/org/forgerock/openam/audit/events/handlers/
H A DElasticsearchAuditEventHandlerFactory.java77 ShutdownManager shutdownManager = InjectorHolder.getInstance(ShutdownManager.class);
78 shutdownManager.addShutdownListener(new ShutdownListener() {
H A DSplunkAuditEventHandlerFactory.java79 ShutdownManager shutdownManager = InjectorHolder.getInstance(ShutdownManager.class);
80 shutdownManager.addShutdownListener(new ShutdownListener() {
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DSessionNotificationSender.java78 final ShutdownManager shutdownManager) {
86 shutdownManager.addShutdownListener(
73 SessionNotificationSender( final @Named(SessionConstants.SESSION_DEBUG) Debug sessionDebug, final SessionServiceConfig serviceConfig, final SessionServerConfig serverConfig, final SessionInfoFactory sessionInfoFactory, final ShutdownManager shutdownManager) argument
/forgerock/openam-v13/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/indextree/
H A DIndexTreeServiceImplTest.java60 private ShutdownManager shutdownManager; field in class:IndexTreeServiceImplTest
73 shutdownManager = mock(ShutdownManager.class);
78 manager, privilegedAction, serviceManagementDAO, dnMapper, shutdownManager);
80 verify(shutdownManager).addShutdownListener(treeService);
/forgerock/openam/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/indextree/
H A DIndexTreeServiceImplTest.java60 private ShutdownManager shutdownManager; field in class:IndexTreeServiceImplTest
73 shutdownManager = mock(ShutdownManager.class);
78 manager, privilegedAction, serviceManagementDAO, dnMapper, shutdownManager);
80 verify(shutdownManager).addShutdownListener(treeService);
/forgerock/openam-v13/openam-scripting/src/test/java/org/forgerock/openam/scripting/
H A DThreadPoolScriptEvaluatorTest.java228 public ExtendedExecutorServiceFactory(ShutdownManager shutdownManager) { argument
229 super(shutdownManager);
230 this.shutdownmanager = shutdownManager;
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DSessionNotificationSender.java88 final ShutdownManager shutdownManager) {
97 shutdownManager.addShutdownListener(
83 SessionNotificationSender( final @Named(SessionConstants.SESSION_DEBUG) Debug sessionDebug, final SessionServiceConfig serviceConfig, final SessionServerConfig serverConfig, final SessionInfoFactory sessionInfoFactory, final ShutdownManager shutdownManager) argument
/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/indextree/
H A DIndexTreeServiceImpl.java71 ShutdownManager shutdownManager) {
81 shutdownManager.addShutdownListener(this);
69 IndexTreeServiceImpl(IndexChangeManager manager, PrivilegedAction<SSOToken> adminTokenAction, ServiceManagementDAO smDAO, DNWrapper dnMapper, ShutdownManager shutdownManager) argument
/forgerock/openam/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/indextree/
H A DIndexTreeServiceImpl.java71 ShutdownManager shutdownManager) {
81 shutdownManager.addShutdownListener(this);
69 IndexTreeServiceImpl(IndexChangeManager manager, PrivilegedAction<SSOToken> adminTokenAction, ServiceManagementDAO smDAO, DNWrapper dnMapper, ShutdownManager shutdownManager) argument

Completed in 102 milliseconds