|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.smartcc.SmartLocalRef
The edge between an application client or local session bean to another local session bean. A smart ref consists of dynamic proxies to the local and local home of the target session bean and a chain of interceptors.
Constructor Summary | |
SmartLocalRef(java.lang.ClassLoader classLoader)
|
Method Summary | |
protected Interceptor |
configureInterceptor(InterceptorMetaData metaData)
|
javax.ejb.EJBLocalObject |
create(java.lang.Object[] args,
javax.ejb.EJBLocalObject object)
Create the local interface proxy. |
protected java.lang.ClassLoader |
getClassLoader()
|
javax.ejb.EJBLocalHome |
getHome()
Get / create the home interface proxy. |
Interceptor |
getInterceptor()
A link to the first interceptor. |
java.lang.Class |
getLocalHomeInterfaceClass()
The local home interface class |
java.lang.Class |
getLocalInterfaceClass()
The local interface class |
java.lang.String |
getLookup()
The jndi name of the home proxy. |
protected void |
setContextClassLoader()
|
void |
setMetaData(EJBLocalRefMetaData ejbLocalRefMetaData)
Set the EJBLocalRefMetaData that configures this container. |
protected void |
unsetContextClassLoader()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SmartLocalRef(java.lang.ClassLoader classLoader)
Method Detail |
public void setMetaData(EJBLocalRefMetaData ejbLocalRefMetaData)
ejbLocalRefMetaData
- the value for ejbLocalRefMetaDataprotected Interceptor configureInterceptor(InterceptorMetaData metaData) throws java.lang.Exception
java.lang.Exception
protected java.lang.ClassLoader getClassLoader()
protected void setContextClassLoader()
protected void unsetContextClassLoader()
public java.lang.Class getLocalHomeInterfaceClass()
public java.lang.Class getLocalInterfaceClass()
public java.lang.String getLookup()
public Interceptor getInterceptor()
public javax.ejb.EJBLocalHome getHome()
public javax.ejb.EJBLocalObject create(java.lang.Object[] args, javax.ejb.EJBLocalObject object) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |