org.cid.distribution
Interface DistributionComponent

All Known Subinterfaces:
DynamicMemberManager, MemberManager
All Known Implementing Classes:
ConnectionComponent, DataMemberManagerComponent, DBMemberManagerComponent, DistributionComponentBase, GeneralInfoLogComponent, QueryDataComponent, StaticMemberManagerComponent

public interface DistributionComponent

Components are objects that are part of a distribution process. They provide services and data to the other components and handlers.

Components don't take part in the distribution flow in the same manner that nodes. Components merely hold information or resources which are accessed by handlers or other components.

Version:
$Revision: 127 $

Method Summary
 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.
 

Method Detail

getId

java.lang.String getId()
Returns the Id of this component.


init

void init()
          throws DistributionProcessingException,
                 DistributionConfigurationException
The distribution container calls this method on all components before starting the distribution process.

Throws:
DistributionProcessingException
DistributionConfigurationException

destroy

void destroy()
             throws DistributionProcessingException,
                    DistributionConfigurationException
The distribution container calls this method on all components before finishing the distribution process, allowing them to clean up resources.

Throws:
DistributionProcessingException
DistributionConfigurationException


Copyright © 2006 null. All Rights Reserved.