cuba.ejb
Class EJB3Adapter

java.lang.Object
  extended by cuba.AbstractComponentAdapter
      extended by cuba.ejb.EJB3Adapter
Direct Known Subclasses:
EJB3SyncAdapter

public abstract class EJB3Adapter
extends AbstractComponentAdapter

Base class for generated EJB 3 adapters

Author:
Arnold Kmpaczyk

Field Summary
 
Fields inherited from class cuba.AbstractComponentAdapter
core
 
Constructor Summary
EJB3Adapter(java.lang.Object core)
           
 
Method Summary
 java.lang.Object _getCore()
          Must be defined public to make it accessible to generated interceptors forwarding around-invokes to inherited interceptor methods
protected  java.util.Map<java.lang.String,java.lang.Object> _getDefaultEnvironment()
          Returns a set of default environment values.
protected  void _injectDefaultEnvironment()
          Allows to inject the values of the default environment entries into the core object by calling the generated injection setters.
 ComponentContextI getComponentContext()
           
protected  MethodInvocation invoker()
           
protected  void set__SessionContext(javax.ejb.SessionContext context)
           
 
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJB3Adapter

public EJB3Adapter(java.lang.Object core)
Method Detail

set__SessionContext

protected void set__SessionContext(javax.ejb.SessionContext context)

_getCore

public java.lang.Object _getCore()
Must be defined public to make it accessible to generated interceptors forwarding around-invokes to inherited interceptor methods

Specified by:
_getCore in class AbstractComponentAdapter

getComponentContext

public ComponentContextI getComponentContext()

_getDefaultEnvironment

protected java.util.Map<java.lang.String,java.lang.Object> _getDefaultEnvironment()
Returns a set of default environment values. See EJB3ComponentContext.defaultEnvironment for further details


_injectDefaultEnvironment

protected void _injectDefaultEnvironment()
Allows to inject the values of the default environment entries into the core object by calling the generated injection setters. This is performed in the adapter's constructor to allow overriding the initialization by a deployment descriptor.


invoker

protected MethodInvocation invoker()
Specified by:
invoker in class AbstractComponentAdapter