org.smallmind.constellation.component
Class SmallMindContainer

java.lang.Object
  extended by org.smallmind.constellation.component.SmallMindComponent
      extended by org.smallmind.constellation.component.SmallMindContainer
All Implemented Interfaces:
ClusterMember

public abstract class SmallMindContainer
extends SmallMindComponent
implements ClusterMember


Constructor Summary
SmallMindContainer(ClusterHub clusterHub, ClusterEntity clusterEntity, ConnectionPool contextPool)
           
 
Method Summary
 void fireGossipBroadcast(GossipClusterBroadcast gossipClusterBroadcast)
           
 ClusterEntity getClusterEntity()
           
 String getGlobalNamespacePath()
           
 String getLocalNamespacePath()
           
abstract  void shutDown()
           
abstract  void startUp()
           
 
Methods inherited from class org.smallmind.constellation.component.SmallMindComponent
getComponentType, getGlobalAttributes, getGlobalData, getGlobalDataMap, getGlobalList, getHostAddress, getHostName, getLocalAttributes, getLocalData, getLocalDataMap, getLocalList, getLogger, logError, logError, logError, logInfo, logWarning, modifyGlobalAttributes, modifyLocalAttributes, removeGlobalData, removeGlobalNamespaceContext, removeLocalData, removeLocalNamespaceContext, searchGlobalAttributes, searchLocalAttributes, setGlobalData, setLocalData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.smallmind.cloud.cluster.ClusterMember
handleServiceBroadcast, logError
 

Constructor Detail

SmallMindContainer

public SmallMindContainer(ClusterHub clusterHub,
                          ClusterEntity clusterEntity,
                          ConnectionPool contextPool)
                   throws UnknownHostException
Throws:
UnknownHostException
Method Detail

startUp

public abstract void startUp()
                      throws Exception
Throws:
Exception

shutDown

public abstract void shutDown()
                       throws Exception
Throws:
Exception

getClusterEntity

public ClusterEntity getClusterEntity()

getGlobalNamespacePath

public String getGlobalNamespacePath()
Specified by:
getGlobalNamespacePath in class SmallMindComponent

getLocalNamespacePath

public String getLocalNamespacePath()
Specified by:
getLocalNamespacePath in class SmallMindComponent

fireGossipBroadcast

public void fireGossipBroadcast(GossipClusterBroadcast gossipClusterBroadcast)
                         throws EventMessageException
Specified by:
fireGossipBroadcast in interface ClusterMember
Throws:
EventMessageException


Copyright © 2012. All Rights Reserved.