WebCab Optimization
v2.6
(J2EE Edition)

com.webcab.ejb.math.optimization
Class RMIFunctionDelivery

java.lang.Object
  |
  +--com.webcab.ejb.math.optimization.RMIFunctionDelivery
All Implemented Interfaces:
FunctionDelivery, Serializable

public class RMIFunctionDelivery
extends Object
implements FunctionDelivery

This class assists the delivery of an RMI bound class instance over from the client-side to the J2EE server-side. When given the RMI location (URL) of an RMI bound object and sent across the network to the Application Server an instance of this class will guarantee the existence of the RMI stub of the bound instance to the EJB container. This means that you may send an instance of a user-defined class (say a function) to an EJB component without manually submitting its RMI stub class as well.

Note: This class supports only one level of user-defined classes. This means that instances of user-defined classes implementing user-defined interfaces or extending another user-defined class will determine a ClassNotFoundException on the server-side.

See Also:
FunctionDelivery, Serialized Form

Constructor Summary
RMIFunctionDelivery(String RMILocation)
          Creates a new instance of this class and instructs it to deliver the object located at RMILocation to the EJB component it is passed across to.
 
Method Summary
 Serializable getDelivery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIFunctionDelivery

public RMIFunctionDelivery(String RMILocation)
                    throws FunctionDeliveryException
Creates a new instance of this class and instructs it to deliver the object located at RMILocation to the EJB component it is passed across to.

Method Detail

getDelivery

public Serializable getDelivery()
                         throws ClassNotFoundException,
                                NotBoundException,
                                MalformedURLException,
                                RemoteException
Specified by:
getDelivery in interface FunctionDelivery
ClassNotFoundException
NotBoundException
MalformedURLException
RemoteException

WebCab Optimization
v2.6
(J2EE Edition)