|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.ejb.AbstractServer
com.caucho.ejb.session.SessionServer
com.caucho.ejb.session.StatelessServer
public class StatelessServer
Server home container for a stateless session bean
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
log
|
| Fields inherited from class com.caucho.ejb.AbstractServer |
|---|
_component, _contextImplClass, _dataSource, _destroyInject, _ejbClass, _ejbContainer, _ejbName, _filename, _handleEncoder, _handleServerId, _homeHandle, _homeStubClass, _id, _initInject, _initProgram, _line, _loader, _local21, _localApiList, _localHome, _localHomeClass, _location, _mappedName, _metaData, _moduleName, _primaryKeyClass, _protocolEncoderMap, _remote21, _remoteApiList, _remoteHome, _remoteHomeClass, _remoteHomeView, _remoteObjectClass, _remoteStubClass, _serviceEndpointClass, _transactionTimeout, _ut |
| Constructor Summary | |
|---|---|
StatelessServer(EjbContainer ejbContainer)
Creates a new stateless server. |
|
| Method Summary | |
|---|---|
protected ComponentImpl |
createSessionComponent(java.lang.Class api)
|
void |
destroy()
Cleans up the entity server nicely. |
AbstractContext |
getContext()
|
AbstractContext |
getContext(java.lang.Object key,
boolean forceLoad)
Returns the context with the given key |
EJBObject |
getEJBObject(java.lang.Object key)
Finds the remote bean by its key. |
java.lang.Object |
getLocalObject(java.lang.Class api)
Returns the object implementation |
java.lang.Object |
getLocalProxy(java.lang.Class api)
Returns the JNDI proxy object to create instances of the local interface. |
java.lang.Object |
getRemoteObject()
Returns the 3.0 remote stub for the container |
java.lang.Object |
getRemoteObject(java.lang.Class api,
java.lang.String protocol)
Returns the remote stub for the container |
java.lang.Object |
getRemoteObject(java.lang.Object key)
Returns the remote object. |
AbstractSessionContext |
getSessionContext()
Returns the session context. |
protected java.lang.String |
getType()
|
void |
init()
Initialize the server |
protected void |
introspectDestroy(java.util.ArrayList<ConfigProgram> injectList,
java.lang.Class ejbClass)
|
| Methods inherited from class com.caucho.ejb.session.SessionServer |
|---|
bindInjection, getComponent, getEJBLocalHome, getPrimaryKeyClass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static java.util.logging.Logger log
| Constructor Detail |
|---|
public StatelessServer(EjbContainer ejbContainer)
urlPrefix - the url prefix for any request to the serverallowJVMCall - allows fast calls to the same JVM (with serialization)config - the session configuration from the ejb.xml| Method Detail |
|---|
protected java.lang.String getType()
getType in class SessionServerpublic java.lang.Object getLocalProxy(java.lang.Class api)
getLocalProxy in class AbstractServerapi - the bean's api to return a value forpublic java.lang.Object getLocalObject(java.lang.Class api)
getLocalObject in class AbstractServerapi - the bean's api to return a value forprotected ComponentImpl createSessionComponent(java.lang.Class api)
createSessionComponent in class SessionServerpublic java.lang.Object getRemoteObject()
public java.lang.Object getRemoteObject(java.lang.Class api,
java.lang.String protocol)
getRemoteObject in class AbstractServerapi - the bean's api to return a value forprotocol - the remote protocolpublic java.lang.Object getRemoteObject(java.lang.Object key)
getRemoteObject in class AbstractServer
public void init()
throws java.lang.Exception
SessionServer
init in class SessionServerjava.lang.Exception
protected void introspectDestroy(java.util.ArrayList<ConfigProgram> injectList,
java.lang.Class ejbClass)
introspectDestroy in class AbstractServer
public EJBObject getEJBObject(java.lang.Object key)
throws FinderException
getEJBObject in class AbstractServerkey - the remote key
FinderExceptionpublic AbstractContext getContext()
getContext in class SessionServer
public AbstractContext getContext(java.lang.Object key,
boolean forceLoad)
AbstractServer
getContext in class AbstractServerpublic AbstractSessionContext getSessionContext()
AbstractServer
getSessionContext in class AbstractServerpublic void destroy()
destroy in class AbstractServer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||