|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.engine.ElementDeployer
public abstract class ElementDeployer
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.
ElementSupport.setDeploymentClass(java.lang.Class extends com.uwyn.rife.engine.ElementDeployer>)| 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 |
|---|
public ElementDeployer()
| Method Detail |
|---|
public final ElementInfo getElementInfo()
public abstract void deploy()
throws EngineException
EngineException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||