org.objectweb.easybeans.container
Class AbsFactory

java.lang.Object
  extended by org.objectweb.easybeans.container.AbsFactory
All Implemented Interfaces:
Factory
Direct Known Subclasses:
SessionFactory

public abstract class AbsFactory
extends java.lang.Object
implements Factory

Abstract factory which implements common and defaults methods.
It should be extended by Bean factories.

Author:
Florent Benoit

Constructor Summary
AbsFactory()
           
 
Method Summary
abstract  EJBResponse rpcInvoke(EJBRequest request)
          A request comes to the bean factory and needs to be handled.
A response is done which contains the answer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.easybeans.api.Factory
getBeanInfo, getContainer, getJavaContext, stop
 

Constructor Detail

AbsFactory

public AbsFactory()
Method Detail

rpcInvoke

public abstract EJBResponse rpcInvoke(EJBRequest request)
                               throws RPCException
A request comes to the bean factory and needs to be handled.
A response is done which contains the answer.

Specified by:
rpcInvoke in interface Factory
Parameters:
request - the EJB request.
Returns:
a response that have been processed by the factory.
Throws:
RPCException - if the invocation fails.