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

Version:
$Rev:$ $Date:$

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

Field Detail

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(@ParamAttribute(name="clusterConfigurationStoreNameQuery")
                                            org.apache.geronimo.gbean.AbstractNameQuery clusterConfigurationStoreNameQuery)
Method Detail

install

public void install(org.apache.geronimo.farm.config.ClusterInfo clusterInfo,
                    org.apache.geronimo.kernel.config.ConfigurationData configurationData)
             throws IOException,
                    org.apache.geronimo.kernel.config.InvalidConfigException
Specified by:
install in interface ClusterConfigurationStoreClient
Throws:
IOException
org.apache.geronimo.kernel.config.InvalidConfigException

uninstall

public void uninstall(org.apache.geronimo.farm.config.ClusterInfo clusterInfo,
                      org.apache.geronimo.kernel.repository.Artifact configId)
Specified by:
uninstall in interface ClusterConfigurationStoreClient

uninstall

protected void uninstall(org.apache.geronimo.farm.config.ClusterInfo clusterInfo,
                         org.apache.geronimo.kernel.repository.Artifact configId,
                         Collection<org.apache.geronimo.farm.config.NodeInfo> installedToNodeInfos)

install

protected void install(org.apache.geronimo.farm.config.NodeInfo nodeInfo,
                       org.apache.geronimo.kernel.config.ConfigurationData configurationData)
                throws IOException
Throws:
IOException

uninstall

protected void uninstall(org.apache.geronimo.farm.config.NodeInfo nodeInfo,
                         org.apache.geronimo.kernel.repository.Artifact configId)
                  throws IOException
Throws:
IOException

uploadConfiguration

protected File uploadConfiguration(org.apache.geronimo.kernel.Kernel kernel,
                                   org.apache.geronimo.farm.config.NodeInfo nodeInfo,
                                   org.apache.geronimo.kernel.config.ConfigurationData configurationData)
                            throws IOException
Throws:
IOException

newDirectoryPackager

protected DirectoryPackager newDirectoryPackager()

newFileUploadClient

protected org.apache.geronimo.deployment.plugin.remote.FileUploadClient newFileUploadClient()

searchClusterConfigurationStore

protected org.apache.geronimo.gbean.AbstractName searchClusterConfigurationStore(org.apache.geronimo.kernel.Kernel kernel)
                                                                          throws IOException
Throws:
IOException


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