|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEJBControlImpl
public abstract class EJBControlImpl
The Enterprise Java Bean Control implementation class
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface EJBControl |
---|
EJBControl.EJBHome, EJBControl.JNDIContextEnv |
Field Summary | |
---|---|
protected Handle |
_beanHandle
|
protected Object |
_beanInstance
|
protected Class |
_beanInterface
|
protected int |
_beanType
|
protected Context |
_context
|
protected Class |
_controlInterface
|
protected Object |
_homeInstance
|
protected Class |
_homeInterface
|
protected String |
_jndiName
|
protected Throwable |
_lastException
|
static int |
ENTITY_BEAN
|
static String |
JNDI_APPSCOPED_PREFIX
|
static String |
JNDI_GLOBAL_PREFIX
|
static int |
SESSION_BEAN
|
Constructor Summary | |
---|---|
EJBControlImpl()
|
Method Summary | |
---|---|
protected Object |
beanNarrow(Object obj)
|
Object |
getEJBBeanInstance()
EJBControl.getEJBBeanInstance() |
Throwable |
getEJBException()
EJBControl.getEJBException() |
Object |
getEJBHomeInstance()
EJBControl.getEJBHomeInstance() |
protected Context |
getInitialContext()
|
boolean |
hasEJBBeanInstance()
EJBControl.getEJBBeanInstance() |
protected Object |
homeNarrow(Object obj)
|
Object |
invoke(Method m,
Object[] args)
Extensible.invoke Handles all extended interface methods (i.e. |
protected static boolean |
isCreateMethod(Method m)
|
protected static boolean |
isFinderMethod(Method m)
|
protected boolean |
isHomeMethod(Method m)
|
protected static boolean |
isRemoveMethod(Method m)
|
protected boolean |
isSelectorMethod(Method m)
|
protected static boolean |
methodThrows(Method m,
Class exceptionClass)
|
void |
onAcquire()
|
void |
onCreate()
|
void |
onRelease()
|
void |
onReset()
|
protected void |
releaseBeanInstance(boolean alreadyRemoved)
|
protected abstract Object |
resolveBeanInstance()
|
protected Object |
resolveBeanInstanceFromHandle()
|
protected boolean |
saveBeanInstance()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SESSION_BEAN
public static final int ENTITY_BEAN
public static final String JNDI_GLOBAL_PREFIX
public static final String JNDI_APPSCOPED_PREFIX
protected Class _controlInterface
protected Class _homeInterface
protected Class _beanInterface
protected int _beanType
protected String _jndiName
protected Handle _beanHandle
protected transient Context _context
protected transient Throwable _lastException
protected transient Object _beanInstance
protected transient Object _homeInstance
Constructor Detail |
---|
public EJBControlImpl()
Method Detail |
---|
public void onCreate()
protected static boolean methodThrows(Method m, Class exceptionClass)
protected boolean isHomeMethod(Method m)
protected static boolean isCreateMethod(Method m)
protected static boolean isFinderMethod(Method m)
protected boolean isSelectorMethod(Method m)
protected static boolean isRemoveMethod(Method m)
protected Object homeNarrow(Object obj)
protected Object beanNarrow(Object obj)
protected abstract Object resolveBeanInstance()
protected Object resolveBeanInstanceFromHandle()
protected boolean saveBeanInstance()
protected void releaseBeanInstance(boolean alreadyRemoved)
protected Context getInitialContext() throws NamingException
NamingException
public void onAcquire()
public void onRelease()
public void onReset()
public Object invoke(Method m, Object[] args) throws Throwable
invoke
in interface Extensible
Throwable
public Object getEJBHomeInstance()
getEJBHomeInstance
in interface EJBControl
public boolean hasEJBBeanInstance()
hasEJBBeanInstance
in interface EJBControl
public Object getEJBBeanInstance()
getEJBBeanInstance
in interface EJBControl
public Throwable getEJBException()
getEJBException
in interface EJBControl
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |