com.uwyn.rife.engine
Class ElementDeployer

java.lang.Object
  extended by com.uwyn.rife.engine.ElementDeployer
Direct Known Subclasses:
AuthenticatedDeployer, DatabaseLogoutDeployer, DwrServiceDeployer, MemoryLogoutDeployer, SoapXFireDeployer, WebservicesHessianDeployer

public abstract class ElementDeployer
extends Object

Classes that are responsible for deploying elements have to extend this abstract class.

After registering the ElementDeployer class with ElementSupport, an instance of this class will be created when the element is deployed within a site. The instance's deploy() method will be called.

Element deployers are handy if you need to setup element-specific resources for all instances of the element's implementation.

Since:
1.0
Version:
$Revision: 3634 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)
See Also:
ElementSupport.setDeploymentClass(java.lang.Class)

Constructor Summary
ElementDeployer()
           
 
Method Summary
abstract  void deploy()
          This method is executed when the deployment should be performed.
 ElementInfo getElementInfo()
          Retrieves the declaration information about the element that is being deployed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementDeployer

public ElementDeployer()
Method Detail

getElementInfo

public final ElementInfo getElementInfo()
Retrieves the declaration information about the element that is being deployed.

Returns:
the declaration information of the deployed element
Since:
1.0

deploy

public abstract void deploy()
                     throws EngineException
This method is executed when the deployment should be performed.

Throws:
EngineException
Since:
1.0


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.