WebCab Optimization
v2.6
(J2EE Edition)

com.webcab.ejb.math.optimization
Class LocalFunctionDelivery

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

public class LocalFunctionDelivery
extends Object
implements FunctionDelivery

This class assists the delivery of a user-defined class instance over from the client-side to the J2EE server-side. When sent across the network to the Application Server an instance of this class will guarantee the existence of the user-defined class 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 publishing the class on the server.

This class is called `Local' because as soon as the user-defined object is delivered to the EJB component, it becomes local relative to the EJB container.

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

See Also:
FunctionDelivery, Serialized Form

Constructor Summary
LocalFunctionDelivery(Serializable o)
          Creates a new instance of this class while registering the object o for `local' delivery.
 
Method Summary
 Serializable getDelivery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalFunctionDelivery

public LocalFunctionDelivery(Serializable o)
                      throws FunctionDeliveryException
Creates a new instance of this class while registering the object o for `local' delivery.

Method Detail

getDelivery

public Serializable getDelivery()
                         throws IOException,
                                ClassNotFoundException
Specified by:
getDelivery in interface FunctionDelivery
IOException
ClassNotFoundException

WebCab Optimization
v2.6
(J2EE Edition)