Package org.picocontainer.behaviors
Class Intercepted<T>
java.lang.Object
org.picocontainer.behaviors.AbstractBehavior
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 interfacestatic classclassstatic classNested 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 TypeMethodDescriptionvoidaddPostInvocation(Class type, Object interceptor) voidaddPreInvocation(Class type, Object interceptor) Get a string key descriptor of the component adapter for use in toString()protected ObjectinvokeMethod(Object componentInstance, Method method, Object[] args, PicoContainer container) Methods inherited from class org.picocontainer.behaviors.HiddenImplementation
createProxy, getComponentInstanceMethods 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:
invokeMethodin classHiddenImplementation- Throws:
Throwable
-
getController
-
getDescriptor
Description copied from interface:ComponentAdapterGet a string key descriptor of the component adapter for use in toString()- Specified by:
getDescriptorin interfaceComponentAdapter<T>- Overrides:
getDescriptorin classHiddenImplementation- Returns:
- the descriptor
-