org.apache.geronimo.farm.deployment
Class BasicClusterConfigurationStoreClient

java.lang.Object
  extended by org.apache.geronimo.farm.deployment.BasicClusterConfigurationStoreClient
All Implemented Interfaces:
ClusterConfigurationStoreClient

public class BasicClusterConfigurationStoreClient
extends Object
implements ClusterConfigurationStoreClient


Nested Class Summary
protected  class BasicClusterConfigurationStoreClient.ConfigurationUploadProgress
           
 
Field Summary
static String GBEAN_ATTR_CLUSTER_CONF_STORE_NAME_QUERY
           
static GBeanInfo GBEAN_INFO
           
static String GBEAN_J2EE_TYPE
           
 
Constructor Summary
BasicClusterConfigurationStoreClient(AbstractNameQuery clusterConfigurationStoreNameQuery)
           
 
Method Summary
static GBeanInfo getGBeanInfo()
           
 void install(ClusterInfo clusterInfo, ConfigurationData configurationData)
           
protected  void install(NodeInfo nodeInfo, ConfigurationData configurationData)
           
protected  DirectoryPackager newDirectoryPackager()
           
protected  FileUploadClient newFileUploadClient()
           
protected  AbstractName searchClusterConfigurationStore(Kernel kernel)
           
 void uninstall(ClusterInfo clusterInfo, Artifact configId)
           
protected  void uninstall(ClusterInfo clusterInfo, Artifact configId, Collection<NodeInfo> installedToNodeInfos)
           
protected  void uninstall(NodeInfo nodeInfo, Artifact configId)
           
protected  File uploadConfiguration(Kernel kernel, NodeInfo nodeInfo, ConfigurationData configurationData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO

GBEAN_J2EE_TYPE

public static final String GBEAN_J2EE_TYPE
See Also:
Constant Field Values

GBEAN_ATTR_CLUSTER_CONF_STORE_NAME_QUERY

public static final String GBEAN_ATTR_CLUSTER_CONF_STORE_NAME_QUERY
See Also:
Constant Field Values
Constructor Detail

BasicClusterConfigurationStoreClient

public BasicClusterConfigurationStoreClient(AbstractNameQuery clusterConfigurationStoreNameQuery)
Method Detail

install

public void install(ClusterInfo clusterInfo,
                    ConfigurationData configurationData)
             throws IOException,
                    InvalidConfigException
Specified by:
install in interface ClusterConfigurationStoreClient
Throws:
IOException
InvalidConfigException

uninstall

public void uninstall(ClusterInfo clusterInfo,
                      Artifact configId)
Specified by:
uninstall in interface ClusterConfigurationStoreClient

uninstall

protected void uninstall(ClusterInfo clusterInfo,
                         Artifact configId,
                         Collection<NodeInfo> installedToNodeInfos)

install

protected void install(NodeInfo nodeInfo,
                       ConfigurationData configurationData)
                throws IOException
Throws:
IOException

uninstall

protected void uninstall(NodeInfo nodeInfo,
                         Artifact configId)
                  throws IOException
Throws:
IOException

uploadConfiguration

protected File uploadConfiguration(Kernel kernel,
                                   NodeInfo nodeInfo,
                                   ConfigurationData configurationData)
                            throws IOException
Throws:
IOException

newDirectoryPackager

protected DirectoryPackager newDirectoryPackager()

newFileUploadClient

protected FileUploadClient newFileUploadClient()

searchClusterConfigurationStore

protected AbstractName searchClusterConfigurationStore(Kernel kernel)
                                                throws IOException
Throws:
IOException

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.