|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.ejb.server.AbstractEjbBeanManager<X>
com.caucho.ejb.session.AbstractSessionManager<X>
public abstract class AbstractSessionManager<X>
Server container for a session bean.
| Field Summary |
|---|
| Fields inherited from class com.caucho.ejb.server.AbstractEjbBeanManager |
|---|
_ejbClass, _ejbManager, _filename, _line, _location, _mappedName, _ut |
| Constructor Summary | |
|---|---|
AbstractSessionManager(EjbManager manager,
java.lang.String ejbName,
java.lang.String moduleName,
AnnotatedType<X> rawAnnType,
AnnotatedType<X> annotatedType,
EjbLazyGenerator<X> lazyGenerator)
|
|
| Method Summary | ||
|---|---|---|
void |
bind()
|
|
protected abstract
|
createBean(ManagedBeanImpl<X> mBean,
java.lang.Class<T> api,
java.util.Set<java.lang.reflect.Type> apiList,
AnnotatedType<X> extAnnType)
|
|
protected BeanGenerator<X> |
createBeanGenerator()
Creates the bean generator for the session bean. |
|
protected
|
createProxyFactory(AbstractSessionContext<X,T> context)
|
|
protected
|
createSessionContext(java.lang.Class<T> api)
|
|
void |
destroy()
Cleans up the server on shutdown |
|
protected Bean<X> |
getBean()
|
|
protected java.lang.Class<?> |
getContextClass()
|
|
Bean<X> |
getDeployBean()
|
|
InjectManager |
getInjectManager()
|
|
protected EjbLazyGenerator<X> |
getLazyGenerator()
|
|
java.util.ArrayList<AnnotatedType<? super X>> |
getLocalApi()
|
|
AnnotatedType<X> |
getLocalBean()
|
|
|
getLocalProxy(java.lang.Class<T> api)
Returns the a new local stub for the given API |
|
java.lang.Class<?> |
getProxyImplClass()
|
|
java.util.ArrayList<AnnotatedType<? super X>> |
getRemoteApi()
|
|
protected SessionBeanType |
getSessionBeanType()
|
|
protected
|
getSessionContext(java.lang.Class<T> api)
|
|
protected java.lang.String |
getType()
|
|
void |
init()
Initialize the server during the config phase. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSessionManager(EjbManager manager,
java.lang.String ejbName,
java.lang.String moduleName,
AnnotatedType<X> rawAnnType,
AnnotatedType<X> annotatedType,
EjbLazyGenerator<X> lazyGenerator)
| Method Detail |
|---|
protected java.lang.String getType()
getType in class AbstractEjbBeanManager<X>public Bean<X> getDeployBean()
getDeployBean in class AbstractEjbBeanManager<X>public java.lang.Class<?> getProxyImplClass()
public InjectManager getInjectManager()
getInjectManager in class AbstractEjbBeanManager<X>protected EjbLazyGenerator<X> getLazyGenerator()
public java.util.ArrayList<AnnotatedType<? super X>> getLocalApi()
getLocalApi in class AbstractEjbBeanManager<X>public java.util.ArrayList<AnnotatedType<? super X>> getRemoteApi()
getRemoteApi in class AbstractEjbBeanManager<X>public AnnotatedType<X> getLocalBean()
getLocalBean in class AbstractEjbBeanManager<X>protected <T> AbstractSessionContext<X,T> getSessionContext(java.lang.Class<T> api)
public void init()
throws java.lang.Exception
init in class AbstractEjbBeanManager<X>java.lang.Exceptionpublic void bind()
bind in class AbstractEjbBeanManager<X>protected BeanGenerator<X> createBeanGenerator()
public <T> T getLocalProxy(java.lang.Class<T> api)
AbstractEjbBeanManager
getLocalProxy in class AbstractEjbBeanManager<X>api - the bean's api to return a value forprotected <T> AbstractSessionContext<X,T> createSessionContext(java.lang.Class<T> api)
protected <T> SessionProxyFactory<T> createProxyFactory(AbstractSessionContext<X,T> context)
protected java.lang.Class<?> getContextClass()
protected Bean<X> getBean()
protected abstract <T> Bean<T> createBean(ManagedBeanImpl<X> mBean,
java.lang.Class<T> api,
java.util.Set<java.lang.reflect.Type> apiList,
AnnotatedType<X> extAnnType)
protected SessionBeanType getSessionBeanType()
public void destroy()
AbstractEjbBeanManager
destroy in class AbstractEjbBeanManager<X>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||