@Module public class TransactionScope extends AbstractScopeContext
| Constructor and Description |
|---|
TransactionScope() |
| Modifier and Type | Method and Description |
|---|---|
protected ContextContainer |
createContextContainer() |
<T> T |
get(Contextual<T> bean,
CreationalContext<T> creationalContext)
Internal SPI method to create a new instance of a bean, when given
a creational context.
|
protected ContextContainer |
getContextContainer() |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Returns the scope annotation type.
|
boolean |
isActive()
Returns true if the scope is currently active.
|
closeContext, create, getpublic boolean isActive()
isActive in interface ContextisActive in class AbstractScopeContextpublic java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope in interface ContextgetScope in class AbstractScopeContextprotected ContextContainer getContextContainer()
getContextContainer in class AbstractScopeContextprotected ContextContainer createContextContainer()
createContextContainer in class AbstractScopeContextpublic <T> T get(Contextual<T> bean, CreationalContext<T> creationalContext)
Contextget in interface Contextget in class AbstractScopeContextbean - the Bean type to be createdcreationalContext - - temporary context used for managing
circular references