|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 DistributionComponent
public void setId(java.lang.String id)
id
- The id to set.public void init() throws DistributionProcessingException, DistributionConfigurationException
DistributionComponent
init
in interface DistributionComponent
DistributionProcessingException
DistributionConfigurationException
public void destroy() throws DistributionProcessingException, DistributionConfigurationException
DistributionComponent
destroy
in interface DistributionComponent
DistributionProcessingException
DistributionConfigurationException
public 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 |