org.jfox.ejb.invoker.jrmp
Class JRMPContainerInvoker
java.lang.Object
org.huihoo.jfox.system.ComponentSupport
org.huihoo.jfox.system.ServiceSupport
org.jfox.ejb.ContainerInvokerSupport
org.jfox.ejb.invoker.jrmp.JRMPContainerInvoker
- All Implemented Interfaces:
- Component, ContainerInvoker, Loggable, Persistentable, java.rmi.Remote, java.lang.Runnable, java.io.Serializable, Service
- public class JRMPContainerInvoker
- extends ContainerInvokerSupport
- implements ContainerInvoker
- See Also:
- Serialized Form
|
Method Summary |
protected void |
doDestroy()
do actually destory action |
protected void |
doInit()
do actually create action |
protected void |
doStart()
export this invoker and set container's invoker to this stub |
protected void |
doStop()
do actually stop action |
java.lang.Object |
invoke(Invocation invocation)
just forward to container
应该把客户的调用组装成一个 invocation 对象 |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRMPContainerInvoker
public JRMPContainerInvoker()
doInit
protected void doInit()
throws java.lang.Exception
- Description copied from class:
ComponentSupport
- do actually create action
- Specified by:
doInit in class ComponentSupport
- Throws:
java.lang.Exception
doStart
protected void doStart()
throws java.lang.Exception
- export this invoker and set container's invoker to this stub
- Specified by:
doStart in class ServiceSupport
- Throws:
java.lang.Exception
doStop
protected void doStop()
throws java.lang.Exception
- Description copied from class:
ServiceSupport
- do actually stop action
- Specified by:
doStop in class ServiceSupport
- Throws:
java.lang.Exception
doDestroy
protected void doDestroy()
throws java.lang.Exception
- Description copied from class:
ComponentSupport
- do actually destory action
- Specified by:
doDestroy in class ComponentSupport
- Throws:
java.lang.Exception
invoke
public java.lang.Object invoke(Invocation invocation)
throws java.rmi.RemoteException
- just forward to container
应该把客户的调用组装成一个 invocation 对象
- Specified by:
invoke in interface ContainerInvoker
- Throws:
java.rmi.RemoteException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception