| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ConstructorAction |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Object | Returns: The constructed object (as massaged by the interceptors)The constructor to invoke c, Object[] The arguments to give to the constructor (intially) args, boolean Whether or not CCL should be neutral around calls to the constructor neutralCCL, List<ConstructorInterceptor> The set of interceptors (may be null or empty) interceptors, ConstructorAction The action to perform to construct the object action)Call this to construct objects taking constructor interceptors into consideration |
| public static Object | Returns: The constructed object (as massaged by the interceptors)The constructor to invoke c, Object[] The arguments to give to the constructor (intially) args, boolean Whether or not CCL should be neutral around calls to the constructor neutralCCL, List<ConstructorInterceptor> The set of interceptors (may be null or empty) interceptors)Call this to construct objects taking constructor interceptors into consideration |
| DEFAULT_ACTION | back to summary |
|---|---|
| private static final ConstructorAction DEFAULT_ACTION | |
| ConstructorInterceptorHandler | back to summary |
|---|---|
| public ConstructorInterceptorHandler() | |
| construct | back to summary |
|---|---|
| public static Object construct(Constructor<?> c, Object[] args, boolean neutralCCL, List<ConstructorInterceptor> interceptors, ConstructorAction action) throws Throwable Call this to construct objects taking constructor interceptors into consideration
| |
| construct | back to summary |
|---|---|
| public static Object construct(Constructor<?> c, Object[] args, boolean neutralCCL, List<ConstructorInterceptor> interceptors) throws Throwable Call this to construct objects taking constructor interceptors into consideration
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Object[] | |
| private final Constructor | |
| private final ConstructorAction | |
| private final int | |
| private final List | |
| private Object | |
| private final boolean | |
| private HashMap |
| Access | Constructor and Description |
|---|---|
| private | ConstructorInvocationImpl(Constructor<?> c, Object[] args, boolean neutralCCL, ConstructorAction finalAction, int index, List<ConstructorInterceptor> interceptors, HashMap<String, Object> userData)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | getArguments()
Implements org. Get the arguments as an array object. |
| public Constructor | getConstructor()
Implements org. Get the constructor being called. |
| public AccessibleObject | getStaticPart()
Implements org. Return the static part of this joinpoint. |
| public Object | getThis()
Implements org. Return the object that holds the current joinpoint's static part. |
| public Object | getUserData(String key)
Implements org. Gets the user data associated with the given key |
| public Object | proceed()
Implements org. Proceed to the next interceptor in the chain. |
| public void | setUserData(String key, Object data)
Implements org. Sets the user data to be associated with the invocation frame. |
| args | back to summary |
|---|---|
| private final Object[] args | |
| c | back to summary |
|---|---|
| private final Constructor<?> c | |
| finalAction | back to summary |
|---|---|
| private final ConstructorAction finalAction | |
| index | back to summary |
|---|---|
| private final int index | |
| interceptors | back to summary |
|---|---|
| private final List<ConstructorInterceptor> interceptors | |
| myThis | back to summary |
|---|---|
| private Object myThis | |
| neutralCCL | back to summary |
|---|---|
| private final boolean neutralCCL | |
| userData | back to summary |
|---|---|
| private HashMap<String, Object> userData | |
| ConstructorInvocationImpl | back to summary |
|---|---|
| private ConstructorInvocationImpl(Constructor<?> c, Object[] args, boolean neutralCCL, ConstructorAction finalAction, int index, List<ConstructorInterceptor> interceptors, HashMap<String, Object> userData) | |
| getArguments | back to summary |
|---|---|
| public Object[] getArguments() Implements org. Doc from org. Get the arguments as an array object. It is possible to change element values within this array to change the arguments.
| |
| getConstructor | back to summary |
|---|---|
| public Constructor Implements org. Doc from org. Get the constructor being called. This method is a friendly implementation of the
| |
| getStaticPart | back to summary |
|---|---|
| public AccessibleObject getStaticPart() Implements org. Doc from org. Return the static part of this joinpoint. The static part is an accessible object on which a chain of interceptors is installed.
| |
| getThis | back to summary |
|---|---|
| public Object getThis() Implements org. Doc from org. Return the object that holds the current joinpoint's static part. For instance, the target object for an invocation.
| |
| getUserData | back to summary |
|---|---|
| public Object getUserData(String key) Implements org. Doc from org. Gets the user data associated with the given key
| |
| proceed | back to summary |
|---|---|
| public Object proceed() throws Throwable Implements org. Doc from org. Proceed to the next interceptor in the chain. The implementation and the semantics of this method depends on the actual joinpoint type (see the children interfaces). | |
| setUserData | back to summary |
|---|---|
| public void setUserData(String key, Object data) Implements org. Doc from org. Sets the user data to be associated with the invocation frame. The key may not be null. If data is null then the data associated with the key is removed
| |