Searched defs:instance (Results 1 - 25 of 355) sorted by relevance

1234567891011>>

/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/coretoken/
H A DCoreTokenStoreFactory.java39 private static CoreTokenStore instance = null; field in class:CoreTokenStoreFactory
44 instance = (CoreTokenStore) Thread.currentThread()
59 * Returns an instance of the <code>CoreTokenStore</code> implementation
60 * class. The instance is a singleton.
61 * @return an instance of the <code>CoreTokenStore</code> implementation
63 * @throws CoreTokenException if failed to instantiate the instance.
66 if (instance != null) {
67 return instance;
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/common/
H A DSystemTimer.java44 protected static TimerPool instance; field in class:SystemTimer
51 if (instance == null) {
55 instance = new TimerPool("SystemTimer", 1, false, Debug.getInstance("SystemTimer"));
58 instance.shutdown();
59 instance = null;
63 return instance;
H A DSystemTimerPool.java45 protected static TimerPool instance; field in class:SystemTimerPool
71 if (instance == null) {
76 instance = new TimerPool("SystemTimerPool",
82 instance.shutdown();
83 instance = null;
87 instance.shutdown();
88 instance = null;
92 return instance;
/forgerock/openam/openam-core/src/main/java/com/sun/identity/coretoken/
H A DCoreTokenStoreFactory.java39 private static CoreTokenStore instance = null; field in class:CoreTokenStoreFactory
44 instance = (CoreTokenStore) Thread.currentThread()
59 * Returns an instance of the <code>CoreTokenStore</code> implementation
60 * class. The instance is a singleton.
61 * @return an instance of the <code>CoreTokenStore</code> implementation
63 * @throws CoreTokenException if failed to instantiate the instance.
66 if (instance != null) {
67 return instance;
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/common/
H A DDebugPropertiesObserver.java44 private static DebugPropertiesObserver instance; field in class:DebugPropertiesObserver
49 instance = new DebugPropertiesObserver();
55 ConfigurationObserver.getInstance().addListener(instance);
62 * Returns an instance of <code>DebugPropertiesObserver</code> object.
64 * @return an instance of <code>DebugPropertiesObserver</code> object.
67 return instance;
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/sm/
H A DSMSPropertiesObserver.java50 private static SMSPropertiesObserver instance; field in class:SMSPropertiesObserver
58 if (instance == null) {
59 instance = new SMSPropertiesObserver();
61 ConfigurationObserver.getInstance().addListener(instance);
67 return instance;
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/validation/
H A DOpenIDConnectURLValidator.java31 private static OpenIDConnectURLValidator instance = new OpenIDConnectURLValidator(); field in class:OpenIDConnectURLValidator
37 * Returns an instance of this validator.
40 return instance;
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/validation/
H A DPositiveIntegerValidator.java39 private static PositiveIntegerValidator instance = field in class:PositiveIntegerValidator
46 * Returns an instance of this validator.
48 * @return an instance of this validator.
51 return instance;
H A DXSDateTimeValidator.java40 private static XSDateTimeValidator instance = new XSDateTimeValidator(); field in class:XSDateTimeValidator
47 * Returns an instance of this validator.
49 * @return an instance of this validator.
52 return instance;
/forgerock/openam-v13/openam-entitlements/src/main/java/com/sun/identity/entitlement/util/
H A DLogFactory.java36 private static LogFactory instance = new LogFactory(); field in class:LogFactory
56 * Returns an instance of the factory.
58 * @return an instance of the factory.
61 return instance;
/forgerock/web-agents-v4/tests/
H A Dtest_init.c35 int instance = 1; local
39 assert_int_equal(am_remove_shm_and_locks(instance, test_log_callback, &clearup_count), AM_SUCCESS);
42 am_init(instance, NULL);
44 assert_int_equal(am_remove_shm_and_locks(instance, test_log_callback, &clearup_count), AM_SUCCESS);
52 assert_int_equal(am_remove_shm_and_locks(instance, test_log_callback, &clearup_count), AM_SUCCESS);
/forgerock/openidm-v4/openidm-crypto/src/main/java/org/forgerock/openidm/crypto/factory/
H A DCryptoServiceFactory.java40 private static CryptoServiceImpl instance; field in class:CryptoServiceFactory
51 if (instance == null) {
52 instance = new CryptoServiceImpl();
54 return instance;
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/validation/
H A DOpenIDConnectURLValidator.java31 private static OpenIDConnectURLValidator instance = new OpenIDConnectURLValidator(); field in class:OpenIDConnectURLValidator
37 * Returns an instance of this validator.
40 return instance;
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/common/
H A DSystemTimer.java40 /** The name of the {@link TimerPool} instance. */
44 protected static TimerPool instance; field in class:SystemTimer
51 if (instance == null) {
55 instance = new TimerPool(TIMER_NAME, 1, false, Debug.getInstance("SystemTimer"));
58 instance.shutdown();
59 instance = null;
63 return instance;
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/validation/
H A DPositiveIntegerValidator.java39 private static PositiveIntegerValidator instance = field in class:PositiveIntegerValidator
46 * Returns an instance of this validator.
48 * @return an instance of this validator.
51 return instance;
H A DXSDateTimeValidator.java40 private static XSDateTimeValidator instance = new XSDateTimeValidator(); field in class:XSDateTimeValidator
47 * Returns an instance of this validator.
49 * @return an instance of this validator.
52 return instance;
/forgerock/openam/openam-core/src/main/java/com/sun/identity/common/
H A DDebugPropertiesObserver.java44 private static DebugPropertiesObserver instance; field in class:DebugPropertiesObserver
49 instance = new DebugPropertiesObserver();
55 ConfigurationObserver.getInstance().addListener(instance);
62 * Returns an instance of <code>DebugPropertiesObserver</code> object.
64 * @return an instance of <code>DebugPropertiesObserver</code> object.
67 return instance;
/forgerock/openam/openam-core/src/main/java/com/sun/identity/sm/
H A DSMSPropertiesObserver.java50 private static SMSPropertiesObserver instance; field in class:SMSPropertiesObserver
58 if (instance == null) {
59 instance = new SMSPropertiesObserver();
61 ConfigurationObserver.getInstance().addListener(instance);
67 return instance;
/forgerock/openam/openam-entitlements/src/main/java/com/sun/identity/entitlement/util/
H A DLogFactory.java36 private static LogFactory instance = new LogFactory(); field in class:LogFactory
56 * Returns an instance of the factory.
58 * @return an instance of the factory.
61 return instance;
/forgerock/opendj-b2.6/src/server/org/opends/server/loggers/
H A DErrorLogger.java54 /** The singleton instance of this class for configuration purposes. */
55 private static final ErrorLogger instance = new ErrorLogger(); field in class:ErrorLogger
58 * Retrieve the singleton instance of this class.
60 * @return The singleton instance of this logger.
64 return instance;
/forgerock/opendj-b2.6/src/server/org/opends/server/types/
H A DNullOutputStream.java49 * The singleton instance for this class.
51 private static final NullOutputStream instance = field in class:NullOutputStream
60 new PrintStream(instance);
65 * Retrieves an instance of this null output stream.
67 * @return An instance of this null output stream.
69 public static NullOutputStream instance() method in class:NullOutputStream
71 return instance;
89 * Creates a new instance of this null output stream.
/forgerock/opendj2/src/server/org/opends/server/loggers/
H A DErrorLogger.java53 /** The singleton instance of this class for configuration purposes. */
54 private static final ErrorLogger instance = new ErrorLogger(); field in class:ErrorLogger
57 * Retrieve the singleton instance of this class.
59 * @return The singleton instance of this logger.
63 return instance;
/forgerock/opendj2/src/server/org/opends/server/types/
H A DNullOutputStream.java45 * The singleton instance for this class.
47 private static final NullOutputStream instance = field in class:NullOutputStream
56 new PrintStream(instance);
61 * Retrieves an instance of this null output stream.
63 * @return An instance of this null output stream.
65 public static NullOutputStream instance() method in class:NullOutputStream
67 return instance;
103 * Creates a new instance of this null output stream.
/forgerock/opendj2.6.2/src/server/org/opends/server/loggers/
H A DErrorLogger.java54 /** The singleton instance of this class for configuration purposes. */
55 private static final ErrorLogger instance = new ErrorLogger(); field in class:ErrorLogger
58 * Retrieve the singleton instance of this class.
60 * @return The singleton instance of this logger.
64 return instance;
/forgerock/opendj2.6.2/src/server/org/opends/server/types/
H A DNullOutputStream.java50 * The singleton instance for this class.
52 private static final NullOutputStream instance = field in class:NullOutputStream
61 new PrintStream(instance);
66 * Retrieves an instance of this null output stream.
68 * @return An instance of this null output stream.
70 public static NullOutputStream instance() method in class:NullOutputStream
72 return instance;
106 * Creates a new instance of this null output stream.

Completed in 121 milliseconds

1234567891011>>