|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfox.ejb.BucketSupport
提供 bucket 的公共方法
| Field Summary | |
protected java.util.Map |
beanMethods
EJBObject 接口中定义的方法 methodHashCode => Method Object |
protected BucketMetaData |
bucketMeta
|
protected java.lang.String |
homeClassName
|
protected java.util.Map |
homeMethods
|
protected java.util.List |
interceptors
|
protected Logger |
logger
|
protected OIDGenerator |
oidGenerator
|
| Constructor Summary | |
BucketSupport(BucketMetaData meta)
|
|
| Method Summary | |
void |
ejbCreate(javax.ejb.EnterpriseBean bean,
java.lang.String createMethod,
java.lang.Object[] args)
|
java.lang.reflect.Method |
getBeanMethod(Invocation invocation)
|
EJBClassLoader |
getEJBClassLoader()
得到该 ejb 的 classLoader |
javax.ejb.EJBHome |
getEJBHome()
|
javax.ejb.EJBMetaData |
getEJBMetaData()
Obtain the EJBMetaData interface for the enterprise Bean. |
javax.ejb.HomeHandle |
getHomeHandle()
Obtain a handle for the remote home object. |
java.lang.reflect.Method |
getHomeMethod(Invocation invocation)
|
protected java.util.Map |
introspectorBeanMethods(java.lang.Class beanClass,
java.lang.Class remoteInterface)
缓存在 EnterpriseBean 类中定义的对象 这些方法应该都是已经在 EJBObject 接口中已经定义的 |
protected java.util.Map |
introspectorInterfMethods(java.lang.Class classObj)
缓存在 EJBHome,EJBObject 接口中定义的对象 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jfox.ejb.Bucket |
invokeBean, invokeHome |
| Methods inherited from interface org.jfox.ejb.EJBOperation |
getHandle, getPrimaryKey, isIdentical, remove, remove, remove |
| Field Detail |
protected Logger logger
protected BucketMetaData bucketMeta
protected java.lang.String homeClassName
protected java.util.Map beanMethods
protected java.util.Map homeMethods
protected OIDGenerator oidGenerator
protected java.util.List interceptors
| Constructor Detail |
public BucketSupport(BucketMetaData meta)
| Method Detail |
public EJBClassLoader getEJBClassLoader()
Bucket
getEJBClassLoader in interface Bucket
public javax.ejb.EJBMetaData getEJBMetaData()
throws java.rmi.RemoteException
EJBOperationThe information obtainable via the EJBMetaData interface is intended to be used by tools.
getEJBMetaData in interface EJBOperationjava.rmi.RemoteException - Thrown when the method failed due to a
system-level failure.
public javax.ejb.EJBHome getEJBHome()
throws java.rmi.RemoteException
getEJBHome in interface EJBOperationjava.rmi.RemoteException
public javax.ejb.HomeHandle getHomeHandle()
throws java.rmi.RemoteException
EJBOperation
getHomeHandle in interface EJBOperationjava.rmi.RemoteException - Thrown when the method failed due to a
system-level failure.
public void ejbCreate(javax.ejb.EnterpriseBean bean,
java.lang.String createMethod,
java.lang.Object[] args)
throws java.rmi.RemoteException
ejbCreate in interface EJBOperationjava.rmi.RemoteExceptionprotected java.util.Map introspectorInterfMethods(java.lang.Class classObj)
classObj -
protected java.util.Map introspectorBeanMethods(java.lang.Class beanClass,
java.lang.Class remoteInterface)
beanClass -
public java.lang.reflect.Method getHomeMethod(Invocation invocation)
throws java.lang.NoSuchMethodException
getHomeMethod in interface Bucketjava.lang.NoSuchMethodException
public java.lang.reflect.Method getBeanMethod(Invocation invocation)
throws java.lang.NoSuchMethodException
getBeanMethod in interface Bucketjava.lang.NoSuchMethodException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||