|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cid.distribution.base.DistributionComponentBase
public abstract class DistributionComponentBase
A helper base class for DistributionComponent classes contained in a DistributionProcess.
| Constructor Summary | |
|---|---|
DistributionComponentBase()
Class constructor. |
|
| Method Summary | |
|---|---|
static void |
addRules(org.apache.commons.digester.Digester d,
java.lang.String patternPrefix)
Configures additional rules for the commons-digester library. |
void |
destroy()
The distribution container calls this method on all components before finishing the distribution process, allowing them to clean up resources. |
java.lang.String |
getId()
Returns the Id of this component. |
void |
init()
The distribution container calls this method on all components before starting the distribution process. |
void |
setDistributionContext(DistributionContext context)
Sets the DistributionContext reference of this object. |
void |
setId(java.lang.String id)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DistributionComponentBase()
| Method Detail |
|---|
public java.lang.String getId()
DistributionComponent
getId in interface DistributionComponentpublic void setId(java.lang.String id)
id - The id to set.
public void init()
throws DistributionProcessingException,
DistributionConfigurationException
DistributionComponent
init in interface DistributionComponentDistributionProcessingException
DistributionConfigurationException
public void destroy()
throws DistributionProcessingException,
DistributionConfigurationException
DistributionComponent
destroy in interface DistributionComponentDistributionProcessingException
DistributionConfigurationExceptionpublic void setDistributionContext(DistributionContext context)
setDistributionContext in interface DistributionContextAware
public static void addRules(org.apache.commons.digester.Digester d,
java.lang.String patternPrefix)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||