|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.context.creational.CreationalContextImpl<T>
public class CreationalContextImpl<T>
| Field Summary | |
|---|---|
static ThreadLocal<Object> |
currentRemoveObject
When bean object is destroyed it is set |
| Method Summary | ||
|---|---|---|
|
addDependent(Object ownerInstance,
Contextual<K> dependent,
Object instance)
Adds given dependent instance to the map. |
|
void |
addEjbInterceptor(Object ownerInstance,
EjbInterceptorContext instance)
Add interceptor instance. |
|
Contextual<T> |
getBean()
Gets owner bean. |
|
Object |
getDependentDecorator(Object ownerInstance,
Contextual<?> decorator)
Gets bean decorator instance. |
|
Object |
getDependentInterceptor(Object ownerInstance,
Contextual<?> interceptor)
Gets bean interceptor instance. |
|
EjbInterceptorContext |
getEjbInterceptor(Object ownerInstance,
Class<?> clazz)
Gets interceptor instance. |
|
void |
push(T incompleteInstance)
Save this incomplete instance. |
|
void |
release()
|
|
void |
removeAllDependents()
|
|
void |
removeDependents(Object ownerInstance)
Removes dependent objects. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static ThreadLocal<Object> currentRemoveObject
| Method Detail |
|---|
public void addEjbInterceptor(Object ownerInstance,
EjbInterceptorContext instance)
ownerInstance - instance - interceptor instance
public EjbInterceptorContext getEjbInterceptor(Object ownerInstance,
Class<?> clazz)
clazz - interceptor class
public void push(T incompleteInstance)
push in interface CreationalContext<T>incompleteInstance - incomplete bean instance
public <K> void addDependent(Object ownerInstance,
Contextual<K> dependent,
Object instance)
dependent - dependent contextualinstance - dependent instance
public Object getDependentInterceptor(Object ownerInstance,
Contextual<?> interceptor)
interceptor - interceptor bean
public Object getDependentDecorator(Object ownerInstance,
Contextual<?> decorator)
decorator - decorator bean
public void removeDependents(Object ownerInstance)
public void removeAllDependents()
public void release()
release in interface CreationalContext<T>public Contextual<T> getBean()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||