| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final InvocationHandler[] | |
| private final Function | |
| private final InjectionPoint | |
| private final ImmutableMap | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ConstructionProxy | create()
Implements com. |
| public ImmutableMap |
| callbacks | back to summary |
|---|---|
| private final InvocationHandler[] callbacks | |
| enhancer | back to summary |
|---|---|
| private final Function<String, BiFunction<Object, Object[], Object>> enhancer | |
| injectionPoint | back to summary |
|---|---|
| private final InjectionPoint injectionPoint | |
| interceptors | back to summary |
|---|---|
| private final ImmutableMap<Method, List<MethodInterceptor>> interceptors | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| ProxyFactory | back to summary |
|---|---|
| pack-priv ProxyFactory(InjectionPoint injectionPoint, Iterable<MethodAspect> methodAspects) throws ErrorsException | |
| create | back to summary |
|---|---|
| public ConstructionProxy Implements com. Doc from com. Gets a construction proxy for the given constructor.
| |
| getInterceptors | back to summary |
|---|---|
| public ImmutableMap Returns the interceptors that apply to the constructed type. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final InvocationHandler[] | |
| pack-priv final Constructor | |
| pack-priv final BiFunction | |
| pack-priv final InjectionPoint | |
| pack-priv final ImmutableMap |
| Access | Constructor and Description |
|---|---|
| pack-priv | ProxyConstructor(InjectionPoint injectionPoint, Function<String, BiFunction<Object, Object[], Object>> enhancer, ImmutableMap<Method, List<MethodInterceptor>> interceptors, InvocationHandler[] callbacks)
|
| Modifier and Type | Method and Description |
|---|---|
| public Constructor | getConstructor()
Implements com. |
| public InjectionPoint | getInjectionPoint()
Implements com. |
| public ImmutableMap | getMethodInterceptors()
Implements com. |
| public T | newInstance(Object... arguments)
Implements com. T for the given arguments.
|
| callbacks | back to summary |
|---|---|
| pack-priv final InvocationHandler[] callbacks | |
| constructor | back to summary |
|---|---|
| pack-priv final Constructor<T> constructor | |
| enhancedConstructor | back to summary |
|---|---|
| pack-priv final BiFunction<Object, Object[], Object> enhancedConstructor | |
| injectionPoint | back to summary |
|---|---|
| pack-priv final InjectionPoint injectionPoint | |
| interceptors | back to summary |
|---|---|
| pack-priv final ImmutableMap<Method, List<MethodInterceptor>> interceptors | |
| ProxyConstructor | back to summary |
|---|---|
pack-priv ProxyConstructor(InjectionPoint injectionPoint, Function<String, BiFunction<Object, Object[], Object>> enhancer, ImmutableMap<Method, List<MethodInterceptor>> interceptors, InvocationHandler[] callbacks)
| |
| getConstructor | back to summary |
|---|---|
| public Constructor Implements com. Doc from com. Returns the injected constructor. If the injected constructor is synthetic (such as generated code for method interception), the natural constructor is returned.
| |
| getInjectionPoint | back to summary |
|---|---|
| public InjectionPoint getInjectionPoint() Implements com. Doc from com. Returns the injection point for this constructor.
| |
| getMethodInterceptors | back to summary |
|---|---|
| public ImmutableMap Implements com. Doc from com. Returns the interceptors applied to each method, in order of invocation.
| |
| newInstance | back to summary |
|---|---|
| public T newInstance(Object... arguments) throws InvocationTargetException Implements com. Doc from com. Constructs an instance of
| |