|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.inject.manager.Bean<java.lang.Object>
javax.inject.manager.Decorator
public abstract class Decorator
The Bean object for a a decorator This interface should not be called directly by the application.
| Constructor Summary | |
|---|---|
protected |
Decorator(Manager manager)
Create an interceptor bean |
| Method Summary | |
|---|---|
abstract java.util.Set<java.lang.annotation.Annotation> |
getDelegateBindings()
Obtains the bindings of the decorated bean |
abstract java.lang.Class<?> |
getDelegateType()
Obtains the type of the decorated bean |
abstract void |
setDelegate(java.lang.Object instance,
java.lang.Object delegate)
Injects the delegate |
| Methods inherited from class javax.inject.manager.Bean |
|---|
getBindings, getDeploymentType, getInjectionPoints, getManager, getName, getScopeType, getTypes, isNullable, isSerializable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.context.Contextual |
|---|
create, destroy |
| Constructor Detail |
|---|
protected Decorator(Manager manager)
manager - the manager to create the interceptor for| Method Detail |
|---|
public abstract java.lang.Class<?> getDelegateType()
public abstract java.util.Set<java.lang.annotation.Annotation> getDelegateBindings()
public abstract void setDelegate(java.lang.Object instance,
java.lang.Object delegate)
instance - the instance to inject the delegate intodelegate - the delegate to inject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||