JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.distribution
Class DeploymentWrapper

java.lang.Object
  |
  +--org.objectweb.jac.core.Wrapper
        |
        +--org.objectweb.jac.aspects.distribution.DeploymentWrapper
All Implemented Interfaces:
Serializable

public class DeploymentWrapper
extends Wrapper

This wrapper wraps constructors in order to deploy the objects on remote host(s) after their initialization.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jac.core.Wrapper
ac
 
Constructor Summary
DeploymentWrapper(AspectComponent ac, String hostExpr, Boolean state)
          The constructor.
 
Method Summary
 void deploy(Interaction i)
          Actually performs the deployment on a constructor interaction.
 
Methods inherited from class org.objectweb.jac.core.Wrapper
attr, attrdef, defines, getAspectComponent, getAspectComponentName, getExceptionHandlers, proceed, setAspectComponent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeploymentWrapper

public DeploymentWrapper(AspectComponent ac,
                         String hostExpr,
                         Boolean state)
The constructor.

Parameters:
ac - the aspect component that owns this wrapper
hostExpr - a regular expression that gives the host where the wrapped object should be deployed
state - a flag that tells if the state of the deployed object should be copied on the remote host(s) or not
Method Detail

deploy

public void deploy(Interaction i)
Actually performs the deployment on a constructor interaction.


Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli