org.apache.geronimo.deployment.plugin.jmx
Class RemoteDeploymentManager
java.lang.Object
  
org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager
      
org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager
- All Implemented Interfaces: 
 - DeploymentManager, GeronimoDeploymentManager, org.apache.geronimo.system.plugin.PluginInstaller
 
public class RemoteDeploymentManager
- extends JMXDeploymentManager
- implements GeronimoDeploymentManager
  
Connects to a Kernel in a remote VM (may or many not be on the same machine).
 
 
 
| 
Method Summary | 
 org.apache.geronimo.system.plugin.DownloadResults | 
checkOnInstall(Object key)
 
            | 
protected  DistributeCommand | 
createDistributeCommand(Target[] targetList,
                                               File moduleArchive,
                                               File deploymentPlan)
 
            | 
protected  DistributeCommand | 
createDistributeCommand(Target[] targetList,
                                               InputStream moduleArchive,
                                               InputStream deploymentPlan)
 
            | 
protected  RedeployCommand | 
createRedeployCommand(TargetModuleID[] moduleIDList,
                                           File moduleArchive,
                                           File deploymentPlan)
 
            | 
protected  RedeployCommand | 
createRedeployCommand(TargetModuleID[] moduleIDList,
                                           InputStream moduleArchive,
                                           InputStream deploymentPlan)
 
            | 
 Map | 
getInstalledPlugins()
 
            | 
 org.apache.geronimo.system.plugin.PluginMetadata | 
getPluginMetadata(org.apache.geronimo.kernel.repository.Artifact configId)
 
            | 
 URL[] | 
getRepositories()
 
            | 
 org.apache.geronimo.system.plugin.DownloadResults | 
install(org.apache.geronimo.system.plugin.PluginList installList,
               String username,
               String password)
 
            | 
 void | 
install(org.apache.geronimo.system.plugin.PluginList configsToInstall,
               String username,
               String password,
               org.apache.geronimo.system.plugin.DownloadPoller poller)
 
            | 
 boolean | 
isSameMachine()
 
            | 
 org.apache.geronimo.system.plugin.PluginList | 
listPlugins(URL mavenRepository,
                       String username,
                       String password)
 
            | 
 void | 
release()
 
            | 
 Object | 
startInstall(File carFile,
                         String username,
                         String password)
 
            | 
 Object | 
startInstall(org.apache.geronimo.system.plugin.PluginList configsToInstall,
                         String username,
                         String password)
 
            | 
 void | 
updatePluginMetadata(org.apache.geronimo.system.plugin.PluginMetadata metadata)
 
            | 
 
| Methods inherited from class org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager | 
createConfiguration, distribute, distribute, getAvailableModules, getCurrentLocale, getDConfigBeanVersion, getDefaultLocale, getNonRunningModules, getRunningModules, getSupportedLocales, getTargets, initialize, isDConfigBeanVersionSupported, isLocaleSupported, isRedeploySupported, redeploy, redeploy, setAuthentication, setDConfigBeanVersion, setInPlace, setLocale, setLogConfiguration, start, stop, undeploy | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
| Methods inherited from interface javax.enterprise.deploy.spi.DeploymentManager | 
createConfiguration, distribute, distribute, getAvailableModules, getCurrentLocale, getDConfigBeanVersion, getDefaultLocale, getNonRunningModules, getRunningModules, getSupportedLocales, getTargets, isDConfigBeanVersionSupported, isLocaleSupported, isRedeploySupported, redeploy, redeploy, setDConfigBeanVersion, setLocale, start, stop, undeploy | 
 
RemoteDeploymentManager
public RemoteDeploymentManager(JMXConnector jmxConnector,
                               String hostname)
                        throws IOException
- Throws:
 IOException
isSameMachine
public boolean isSameMachine()
 
 
release
public void release()
- Specified by:
 release in interface DeploymentManager- Overrides:
 release in class JMXDeploymentManager
 
 
createDistributeCommand
protected DistributeCommand createDistributeCommand(Target[] targetList,
                                                    File moduleArchive,
                                                    File deploymentPlan)
- Overrides:
 createDistributeCommand in class JMXDeploymentManager
 
 
createDistributeCommand
protected DistributeCommand createDistributeCommand(Target[] targetList,
                                                    InputStream moduleArchive,
                                                    InputStream deploymentPlan)
- Overrides:
 createDistributeCommand in class JMXDeploymentManager
 
 
createRedeployCommand
protected RedeployCommand createRedeployCommand(TargetModuleID[] moduleIDList,
                                                File moduleArchive,
                                                File deploymentPlan)
- Overrides:
 createRedeployCommand in class JMXDeploymentManager
 
 
createRedeployCommand
protected RedeployCommand createRedeployCommand(TargetModuleID[] moduleIDList,
                                                InputStream moduleArchive,
                                                InputStream deploymentPlan)
- Overrides:
 createRedeployCommand in class JMXDeploymentManager
 
 
listPlugins
public org.apache.geronimo.system.plugin.PluginList listPlugins(URL mavenRepository,
                                                                String username,
                                                                String password)
                                                         throws FailedLoginException,
                                                                IOException
- Specified by:
 listPlugins in interface org.apache.geronimo.system.plugin.PluginInstaller
 
- Throws:
 FailedLoginException
IOException
 
install
public org.apache.geronimo.system.plugin.DownloadResults install(org.apache.geronimo.system.plugin.PluginList installList,
                                                                 String username,
                                                                 String password)
- Specified by:
 install in interface org.apache.geronimo.system.plugin.PluginInstaller
 
 
install
public void install(org.apache.geronimo.system.plugin.PluginList configsToInstall,
                    String username,
                    String password,
                    org.apache.geronimo.system.plugin.DownloadPoller poller)
- Specified by:
 install in interface org.apache.geronimo.system.plugin.PluginInstaller
 
 
startInstall
public Object startInstall(org.apache.geronimo.system.plugin.PluginList configsToInstall,
                           String username,
                           String password)
- Specified by:
 startInstall in interface org.apache.geronimo.system.plugin.PluginInstaller
 
 
startInstall
public Object startInstall(File carFile,
                           String username,
                           String password)
- Specified by:
 startInstall in interface org.apache.geronimo.system.plugin.PluginInstaller
 
 
checkOnInstall
public org.apache.geronimo.system.plugin.DownloadResults checkOnInstall(Object key)
- Specified by:
 checkOnInstall in interface org.apache.geronimo.system.plugin.PluginInstaller
 
 
getInstalledPlugins
public Map getInstalledPlugins()
- Specified by:
 getInstalledPlugins in interface org.apache.geronimo.system.plugin.PluginInstaller
 
 
getPluginMetadata
public org.apache.geronimo.system.plugin.PluginMetadata getPluginMetadata(org.apache.geronimo.kernel.repository.Artifact configId)
- Specified by:
 getPluginMetadata in interface org.apache.geronimo.system.plugin.PluginInstaller
 
 
updatePluginMetadata
public void updatePluginMetadata(org.apache.geronimo.system.plugin.PluginMetadata metadata)
- Specified by:
 updatePluginMetadata in interface org.apache.geronimo.system.plugin.PluginInstaller
 
 
getRepositories
public URL[] getRepositories()
- Specified by:
 getRepositories in interface GeronimoDeploymentManager
 
 
Copyright © 2006 Apache Software Foundation. All Rights Reserved.