Package org.picocontainer.behaviors
Class Intercepted<T>
java.lang.Object
org.picocontainer.behaviors.AbstractBehavior<T>
org.picocontainer.behaviors.HiddenImplementation
org.picocontainer.behaviors.Intercepted<T>
- All Implemented Interfaces:
Serializable
,Behavior
,ComponentAdapter
,ComponentLifecycle
,ComponentMonitorStrategy
,LifecycleStrategy
- Author:
- Paul Hammant
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static class
class
static class
Nested classes/interfaces inherited from interface org.picocontainer.ComponentAdapter
ComponentAdapter.NOTHING
-
Field Summary
Fields inherited from class org.picocontainer.behaviors.AbstractBehavior
delegate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPostInvocation
(Class type, Object interceptor) void
addPreInvocation
(Class type, Object interceptor) Get a string key descriptor of the component adapter for use in toString()protected Object
invokeMethod
(Object componentInstance, Method method, Object[] args, PicoContainer container) Methods inherited from class org.picocontainer.behaviors.HiddenImplementation
createProxy, getComponentInstance
Methods inherited from class org.picocontainer.behaviors.AbstractBehavior
accept, changeMonitor, componentHasLifecycle, currentMonitor, dispose, dispose, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentKey, getDelegate, hasLifecycle, isLazy, isStarted, start, start, stop, stop, toString, verify
-
Constructor Details
-
Intercepted
-
-
Method Details
-
addPreInvocation
-
addPostInvocation
-
invokeMethod
protected Object invokeMethod(Object componentInstance, Method method, Object[] args, PicoContainer container) throws Throwable - Overrides:
invokeMethod
in classHiddenImplementation
- Throws:
Throwable
-
getController
-
getDescriptor
Description copied from interface:ComponentAdapter
Get a string key descriptor of the component adapter for use in toString()- Specified by:
getDescriptor
in interfaceComponentAdapter<T>
- Overrides:
getDescriptor
in classHiddenImplementation
- Returns:
- the descriptor
-