public class Intercepted<T> extends HiddenImplementation
Modifier and Type | Class and Description |
---|---|
static interface |
Intercepted.Controller |
static class |
Intercepted.ControllerImpl |
class |
Intercepted.ControllerWrapper |
static class |
Intercepted.InterceptorThreadLocal |
ComponentAdapter.NOTHING
delegate
Constructor and Description |
---|
Intercepted(ComponentAdapter delegate) |
Modifier and Type | Method and Description |
---|---|
void |
addPostInvocation(Class type,
Object interceptor) |
void |
addPreInvocation(Class type,
Object interceptor) |
Intercepted.Controller |
getController() |
String |
getDescriptor()
Get a string key descriptor of the component adapter for use in toString()
|
protected Object |
invokeMethod(Object componentInstance,
Method method,
Object[] args,
PicoContainer container) |
createProxy, getComponentInstance
accept, changeMonitor, componentHasLifecycle, currentMonitor, dispose, dispose, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentKey, getDelegate, hasLifecycle, isLazy, isStarted, start, start, stop, stop, toString, verify
public Intercepted(ComponentAdapter delegate)
public void addPreInvocation(Class type, Object interceptor)
public void addPostInvocation(Class type, Object interceptor)
protected Object invokeMethod(Object componentInstance, Method method, Object[] args, PicoContainer container) throws Throwable
invokeMethod
in class HiddenImplementation
Throwable
public Intercepted.Controller getController()
public String getDescriptor()
ComponentAdapter
getDescriptor
in interface ComponentAdapter
getDescriptor
in class HiddenImplementation
Copyright © 2003–2015 Codehaus. All rights reserved.