cuba.wired
Class WiredAdapter
java.lang.Object
cuba.AbstractComponentAdapter
cuba.wired.WiredAdapter
public abstract class WiredAdapter
- extends AbstractComponentAdapter
Base class for adapter classes being generated for use of components
in the WiredContainer
. To avoid interference with user method
names, all internal method names are preceded by an underbar.
- Author:
- Jan Lessner
Methods inherited from class cuba.AbstractComponentAdapter |
_initCore, _injectDependencies, _postActivate, _postConstruct, _preDestroy, _prePassivate, box, box, box, box, box, box, box, box, invoke, invoke, invokeLifecycle, runtimeException, unbox_boolean, unbox_byte, unbox_char, unbox_double, unbox_float, unbox_hort, unbox_int, unbox_long |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INTERCEPTORLIST_PREFIX
public static final java.lang.String INTERCEPTORLIST_PREFIX
- See Also:
- Constant Field Values
INTERCEPTORLIST_COMMON
public static final java.lang.String INTERCEPTORLIST_COMMON
- See Also:
- Constant Field Values
INTERCEPTOR_INSTANCE_PREFIX
public static final java.lang.String INTERCEPTOR_INSTANCE_PREFIX
- See Also:
- Constant Field Values
CORE_METHOD_PREFIX
public static final java.lang.String CORE_METHOD_PREFIX
- See Also:
- Constant Field Values
WiredAdapter
public WiredAdapter(WiredComponentContext context,
java.lang.Class implClass)
_wiredRemove
public void _wiredRemove()
- This function is called on object removal and in turn calls
the adapter's
AbstractComponentAdapter._preDestroy()
method.
If _preDestroy() returns with an exception, the function determines
if it is running in a TX context and rolls it back if existing, according
to the EJB 3 specification.
Function name was adopted from CUBA 1 for compatibility reasons.
finalize
public void finalize()
- Overrides:
finalize
in class java.lang.Object
_getCore
protected java.lang.Object _getCore()
- The function returns the component's implementation object and performs a lazy
instanciation if not yet done.
- Specified by:
_getCore
in class AbstractComponentAdapter
invoker
protected MethodInvocation invoker()
- Specified by:
invoker
in class AbstractComponentAdapter