|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PoolType
- The type of the pool.Clue
- The clue used by the pool.public interface Factory<PoolType,Clue>
This interface is used by all bean factories of EJB 3 container.
Method Summary | |
---|---|
IBeanInfo |
getBeanInfo()
Gets the bean information. |
java.lang.String |
getClassName()
Gets the className used by this factory. |
EZBContainer |
getContainer()
Gets the container used by this factory. |
java.lang.String |
getId()
Gets an id for this factory. |
javax.naming.Context |
getJavaContext()
Gets the java: context. |
Pool<PoolType,Clue> |
getPool()
Gets the pool used by this factory. |
void |
init()
Init the factory. |
EJBResponse |
localCall(long hash,
java.lang.Object[] methodArgs,
java.lang.Long beanId)
Do a local call on a method of this factory. |
EJBResponse |
rpcInvoke(EJBRequest request)
A remote request comes to the bean factory and needs to be handled. A response is done which contains the answer. |
void |
setJavaContext(javax.naming.Context javaContext)
Sets the java: context. |
void |
stop()
Stops the factory. |
Method Detail |
---|
EJBResponse rpcInvoke(EJBRequest request)
request
- the EJB request.
EJBResponse localCall(long hash, java.lang.Object[] methodArgs, java.lang.Long beanId)
hash
- the hash of the method to execute.methodArgs
- the arguments of the methodbeanId
- the id of the bean that we want (stateful).
void init() throws FactoryException
FactoryException
- if the initialization fails.void stop()
java.lang.String getClassName()
EZBContainer getContainer()
javax.naming.Context getJavaContext()
void setJavaContext(javax.naming.Context javaContext)
javaContext
- the java: context.IBeanInfo getBeanInfo()
Pool<PoolType,Clue> getPool()
java.lang.String getId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |