Searched refs:instance (Results 1 - 25 of 568) sorted by relevance

1234567891011>>

/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/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-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;
H A DSystemTimerPool.java41 /** The name of the {@link TimerPool} instance. */
45 protected static TimerPool instance; field in class:SystemTimerPool
71 if (instance == null) {
76 instance = new TimerPool(TIMER_NAME, poolSize, false, Debug.getInstance(TIMER_NAME));
81 instance.shutdown();
82 instance = null;
86 instance.shutdown();
87 instance = null;
91 return instance;
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/session/model/
H A DDBStatistics.java35 private static DBStatistics instance = null; field in class:DBStatistics
52 if (instance == null) {
53 instance = new DBStatistics();
56 return instance;
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/session/model/
H A DDBStatistics.java37 private static DBStatistics instance = null; field in class:DBStatistics
54 if (instance == null) {
55 instance = new DBStatistics();
58 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/openam-v13/openam-core/src/main/java/com/sun/identity/sm/
H A DServiceInstance.java44 * instance variables.
54 private ServiceInstanceImpl instance; field in class:ServiceInstance
59 this.instance = i;
64 * Returns the instance name.
66 * @return the instance name.
69 return (instance.getName());
92 * instance must be obtained.
95 * instance must be obtained.
98 return (instance.getGroup());
102 * Sets the group name for this instance
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/sm/
H A DServiceInstance.java44 * instance variables.
54 private ServiceInstanceImpl instance; field in class:ServiceInstance
59 this.instance = i;
64 * Returns the instance name.
66 * @return the instance name.
69 return (instance.getName());
92 * instance must be obtained.
95 * instance must be obtained.
98 return (instance.getGroup());
102 * Sets the group name for this instance
[all...]
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DTestPasswordValidator.java49 * The singleton instance of this test password validator.
51 private static TestPasswordValidator instance = null; field in class:TestPasswordValidator
78 * Creates a new instance of this password validator.
95 instance = this;
132 * Retrieves an instance of this test password validator.
134 * @return An instance of this test password validator, or <CODE>null</CODE>
135 * if no instance has been created.
139 return instance;
145 * Clears the instance after the tests so that it's memory can be reclaimed.
151 instance
[all...]
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DTestPasswordValidator.java48 * The singleton instance of this test password validator.
50 private static TestPasswordValidator instance = null; field in class:TestPasswordValidator
77 * Creates a new instance of this password validator.
94 instance = this;
131 * Retrieves an instance of this test password validator.
133 * @return An instance of this test password validator, or <CODE>null</CODE>
134 * if no instance has been created.
138 return instance;
144 * Clears the instance after the tests so that it's memory can be reclaimed.
150 instance
[all...]
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DTestPasswordValidator.java49 * The singleton instance of this test password validator.
51 private static TestPasswordValidator instance = null; field in class:TestPasswordValidator
78 * Creates a new instance of this password validator.
95 instance = this;
132 * Retrieves an instance of this test password validator.
134 * @return An instance of this test password validator, or <CODE>null</CODE>
135 * if no instance has been created.
139 return instance;
145 * Clears the instance after the tests so that it's memory can be reclaimed.
151 instance
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DTestPasswordValidator.java48 * The singleton instance of this test password validator.
50 private static TestPasswordValidator instance = null; field in class:TestPasswordValidator
77 * Creates a new instance of this password validator.
94 instance = this;
131 * Retrieves an instance of this test password validator.
133 * @return An instance of this test password validator, or <CODE>null</CODE>
134 * if no instance has been created.
138 return instance;
144 * Clears the instance after the tests so that it's memory can be reclaimed.
150 instance
[all...]
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DTestPasswordValidator.java49 * The singleton instance of this test password validator.
51 private static TestPasswordValidator instance = null; field in class:TestPasswordValidator
78 * Creates a new instance of this password validator.
95 instance = this;
132 * Retrieves an instance of this test password validator.
134 * @return An instance of this test password validator, or <CODE>null</CODE>
135 * if no instance has been created.
139 return instance;
145 * Clears the instance after the tests so that it's memory can be reclaimed.
151 instance
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/extensions/
H A DTestPasswordValidator.java50 * The singleton instance of this test password validator.
52 private static TestPasswordValidator instance; field in class:TestPasswordValidator
81 * Creates a new instance of this password validator.
96 instance = this;
131 * Retrieves an instance of this test password validator.
133 * @return An instance of this test password validator, or <CODE>null</CODE>
134 * if no instance has been created.
138 return instance;
144 * Clears the instance after the tests so that it's memory can be reclaimed.
150 instance
[all...]
/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-jel-hg/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/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/
H A DServerGroupConfiguration.java32 private ServerInstance instance; field in class:ServerGroupConfiguration
35 * New instance of the ServerGroupConfiguration.
37 * @param instance Non null.
39 ServerGroupConfiguration(ServerGroup group, ServerInstance instance) { argument
41 this.instance = instance;
48 return instance.getAuthID();
55 return instance.getPasswd().toCharArray();
62 return instance.getMaxConnections();
69 return instance
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/
H A DServerGroupConfiguration.java32 private ServerInstance instance; field in class:ServerGroupConfiguration
35 * New instance of the ServerGroupConfiguration.
37 * @param instance Non null.
39 ServerGroupConfiguration(ServerGroup group, ServerInstance instance) { argument
41 this.instance = instance;
48 return instance.getAuthID();
55 String password = instance.getPasswd();
66 return instance.getMaxConnections();
73 return instance
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/setup/
H A DSystemStartupInjectorHolder.java26 * <p>A thread-safe singleton holding the system startup Guice Injector instance that system
39 private static SystemStartupInjectorHolder instance; field in class:SystemStartupInjectorHolder
49 * instance.</p>
58 if (instance == null) {
59 instance = new SystemStartupInjectorHolder(injector);
71 if (instance == null) {
74 return instance;
78 * <p>Uses the Guice injector to return the appropriate instance for the given injection
83 * @param type The class to get an instance of.
85 * @return A non-null instance o
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/setup/
H A DSystemStartupInjectorHolder.java26 * <p>A thread-safe singleton holding the system startup Guice Injector instance that system
39 private static SystemStartupInjectorHolder instance; field in class:SystemStartupInjectorHolder
49 * instance.</p>
58 if (instance == null) {
59 instance = new SystemStartupInjectorHolder(injector);
71 if (instance == null) {
74 return instance;
78 * <p>Uses the Guice injector to return the appropriate instance for the given injection
83 * @param type The class to get an instance of.
85 * @return A non-null instance o
[all...]
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/api/
H A DTestTaskListener.java50 private static final TestTaskListener instance = new TestTaskListener(); field in class:TestTaskListener
67 DirectoryServer.registerBackupTaskListener(instance);
68 DirectoryServer.registerRestoreTaskListener(instance);
69 DirectoryServer.registerExportTaskListener(instance);
70 DirectoryServer.registerImportTaskListener(instance);
80 DirectoryServer.deregisterBackupTaskListener(instance);
81 DirectoryServer.deregisterRestoreTaskListener(instance);
82 DirectoryServer.deregisterExportTaskListener(instance);
83 DirectoryServer.deregisterImportTaskListener(instance);
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/api/
H A DTestTaskListener.java49 private static final TestTaskListener instance = new TestTaskListener(); field in class:TestTaskListener
66 DirectoryServer.registerBackupTaskListener(instance);
67 DirectoryServer.registerRestoreTaskListener(instance);
68 DirectoryServer.registerExportTaskListener(instance);
69 DirectoryServer.registerImportTaskListener(instance);
79 DirectoryServer.deregisterBackupTaskListener(instance);
80 DirectoryServer.deregisterRestoreTaskListener(instance);
81 DirectoryServer.deregisterExportTaskListener(instance);
82 DirectoryServer.deregisterImportTaskListener(instance);
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/api/
H A DTestTaskListener.java50 private static final TestTaskListener instance = new TestTaskListener(); field in class:TestTaskListener
67 DirectoryServer.registerBackupTaskListener(instance);
68 DirectoryServer.registerRestoreTaskListener(instance);
69 DirectoryServer.registerExportTaskListener(instance);
70 DirectoryServer.registerImportTaskListener(instance);
80 DirectoryServer.deregisterBackupTaskListener(instance);
81 DirectoryServer.deregisterRestoreTaskListener(instance);
82 DirectoryServer.deregisterExportTaskListener(instance);
83 DirectoryServer.deregisterImportTaskListener(instance);

Completed in 212 milliseconds

1234567891011>>