invoke(MethodInvocation mi)
This method does invocation interpositioning of tx and security,
retrieves the instance from an object table, and invokes the method
on the particular instance
java.lang.Object
invokeHome(MethodInvocation mi)
This method is called by the ContainerInvoker when a method call comes in on the Home object.
The ContainerFactory calls this method. The ContainerFactory has set all the
plugins and interceptors that this bean requires and now proceeds to initialize
the chain. The method looks for the standard classes in the URL, sets up
the naming environment of the bean. The concrete container classes should
override this method to introduce implementation specific initialization behaviour.
A default implementation of starting the container service (no-op). The concrete
container classes should override this method to introduce implementation specific
start behaviour.
A default implementation of stopping the container service (no-op). The concrete
container classes should override this method to introduce implementation specific
stop behaviour.
A default implementation of destroying the container service (no-op). The concrete
container classes should override this method to introduce implementation specific
destroy behaviour.
This method is called by the ContainerInvoker when a method call comes in on the Home object.
The Container forwards this call to the interceptor chain for further processing.
Following copied from class: org.jboss.ejb.Container
Parameters:
mi - the object holding all info about this invocation
Returns:
the result of the home invocation
Throws:
java.lang.Exception -
invoke
public java.lang.Object invoke(MethodInvocation mi)
throws java.lang.Exception
This method does invocation interpositioning of tx and security,
retrieves the instance from an object table, and invokes the method
on the particular instance