Class SingletonScope
- java.lang.Object
-
- com.aspectran.core.component.bean.scope.AbstractScope
-
- com.aspectran.core.component.bean.scope.SingletonScope
-
- All Implemented Interfaces:
Scope
,NonPersistent
public final class SingletonScope extends AbstractScope
The Class SingletonScope.- Since:
- 2011. 3. 12.
-
-
Constructor Summary
Constructors Constructor Description SingletonScope()
Instantiates a new Singleton scope.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.locks.ReadWriteLock
getScopeLock()
Returns the lock of this scope.ScopeType
getScopeType()
Returns the type of this scope.-
Methods inherited from class com.aspectran.core.component.bean.scope.AbstractScope
containsBeanRule, destroy, destroy, getBeanInstance, getBeanRule, putBeanInstance
-
-
-
-
Method Detail
-
getScopeType
public ScopeType getScopeType()
Description copied from interface:Scope
Returns the type of this scope.- Returns:
- the scope type
-
getScopeLock
public java.util.concurrent.locks.ReadWriteLock getScopeLock()
Description copied from interface:Scope
Returns the lock of this scope.- Returns:
- the scope lock
-
-