public class CaveDeployerMBeanImpl extends StandardMBean implements CaveDeployerMBean
| Constructor and Description |
|---|
CaveDeployerMBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFeatureRepository(String url,
String connection) |
void |
appendConfigProperty(String pid,
String key,
String value,
String connection) |
void |
assembleFeature(String groupId,
String artifactId,
String version,
String repositoryUrl,
String feature,
List<String> repositories,
List<String> features,
List<String> bundles) |
void |
clusterFeatureInstall(String feature,
String clusterGroup,
String connection) |
void |
clusterFeatureRepositoryAdd(String url,
String clusterGroup,
String connection) |
void |
clusterFeatureRepositoryRemove(String url,
String clusterGroup,
String connection) |
void |
clusterFeatureUninstall(String feature,
String clusterGroup,
String connection) |
void |
createConfig(String pid,
String connection) |
void |
deleteConfig(String pid,
String connection) |
void |
deleteConfigProperty(String pid,
String key,
String connection) |
void |
deleteConnection(String name) |
void |
download(String url,
String directory) |
void |
explode(String url,
String repository) |
void |
extract(String url,
String directory) |
TabularData |
getBundles(String connection) |
Map<String,List<String>> |
getClusterGroups(String connection) |
List<String> |
getClusterNodes(String connection) |
Map<String,String> |
getConfigProperties(String pid,
String connection) |
String |
getConfigProperty(String pid,
String key,
String connection) |
TabularData |
getConnections() |
org.apache.karaf.cave.deployer.api.Deployer |
getDeployer() |
TabularData |
getFeatureRepositories(String connection) |
TabularData |
getFeatures(String connection) |
List<String> |
getKars(String connection) |
void |
installBundle(String url,
String connection) |
void |
installFeature(String feature,
String connection) |
void |
installKar(String url,
String connection) |
void |
registerConnection(String name,
String jmxUrl,
String karafName,
String user,
String password) |
void |
removeFeatureRepository(String repository,
String connection) |
void |
setConfigProperty(String pid,
String key,
String value,
String connection) |
void |
setDeployer(org.apache.karaf.cave.deployer.api.Deployer deployer) |
void |
startBundle(String id,
String connection) |
void |
stopBundle(String id,
String connection) |
void |
uninstallBundle(String id,
String connection) |
void |
uninstallFeature(String feature,
String connection) |
void |
uninstallKar(String id,
String connection) |
void |
upload(String groupId,
String artifactId,
String version,
String artifactUrl,
String repositoryUrl) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic CaveDeployerMBeanImpl()
throws NotCompliantMBeanException
NotCompliantMBeanExceptionpublic org.apache.karaf.cave.deployer.api.Deployer getDeployer()
public void setDeployer(org.apache.karaf.cave.deployer.api.Deployer deployer)
public void registerConnection(String name, String jmxUrl, String karafName, String user, String password) throws Exception
registerConnection in interface CaveDeployerMBeanExceptionpublic void deleteConnection(String name) throws Exception
deleteConnection in interface CaveDeployerMBeanExceptionpublic TabularData getConnections() throws Exception
getConnections in interface CaveDeployerMBeanExceptionpublic void explode(String url, String repository) throws Exception
explode in interface CaveDeployerMBeanExceptionpublic void extract(String url, String directory) throws Exception
extract in interface CaveDeployerMBeanExceptionpublic void download(String url, String directory) throws Exception
download in interface CaveDeployerMBeanExceptionpublic void upload(String groupId, String artifactId, String version, String artifactUrl, String repositoryUrl) throws Exception
upload in interface CaveDeployerMBeanExceptionpublic void assembleFeature(String groupId, String artifactId, String version, String repositoryUrl, String feature, List<String> repositories, List<String> features, List<String> bundles) throws Exception
assembleFeature in interface CaveDeployerMBeanExceptionpublic void installBundle(String url, String connection) throws Exception
installBundle in interface CaveDeployerMBeanExceptionpublic void uninstallBundle(String id, String connection) throws Exception
uninstallBundle in interface CaveDeployerMBeanExceptionpublic void startBundle(String id, String connection) throws Exception
startBundle in interface CaveDeployerMBeanExceptionpublic void stopBundle(String id, String connection) throws Exception
stopBundle in interface CaveDeployerMBeanExceptionpublic TabularData getBundles(String connection) throws Exception
getBundles in interface CaveDeployerMBeanExceptionpublic void installKar(String url, String connection) throws Exception
installKar in interface CaveDeployerMBeanExceptionpublic void uninstallKar(String id, String connection) throws Exception
uninstallKar in interface CaveDeployerMBeanExceptionpublic List<String> getKars(String connection) throws Exception
getKars in interface CaveDeployerMBeanExceptionpublic void addFeatureRepository(String url, String connection) throws Exception
addFeatureRepository in interface CaveDeployerMBeanExceptionpublic void removeFeatureRepository(String repository, String connection) throws Exception
removeFeatureRepository in interface CaveDeployerMBeanExceptionpublic TabularData getFeatureRepositories(String connection) throws Exception
getFeatureRepositories in interface CaveDeployerMBeanExceptionpublic void installFeature(String feature, String connection) throws Exception
installFeature in interface CaveDeployerMBeanExceptionpublic void uninstallFeature(String feature, String connection) throws Exception
uninstallFeature in interface CaveDeployerMBeanExceptionpublic TabularData getFeatures(String connection) throws Exception
getFeatures in interface CaveDeployerMBeanExceptionpublic void createConfig(String pid, String connection) throws Exception
createConfig in interface CaveDeployerMBeanExceptionpublic Map<String,String> getConfigProperties(String pid, String connection) throws Exception
getConfigProperties in interface CaveDeployerMBeanExceptionpublic void deleteConfig(String pid, String connection) throws Exception
deleteConfig in interface CaveDeployerMBeanExceptionpublic void appendConfigProperty(String pid, String key, String value, String connection) throws Exception
appendConfigProperty in interface CaveDeployerMBeanExceptionpublic void setConfigProperty(String pid, String key, String value, String connection) throws Exception
setConfigProperty in interface CaveDeployerMBeanExceptionpublic String getConfigProperty(String pid, String key, String connection) throws Exception
getConfigProperty in interface CaveDeployerMBeanExceptionpublic void deleteConfigProperty(String pid, String key, String connection) throws Exception
deleteConfigProperty in interface CaveDeployerMBeanExceptionpublic List<String> getClusterNodes(String connection) throws Exception
getClusterNodes in interface CaveDeployerMBeanExceptionpublic Map<String,List<String>> getClusterGroups(String connection) throws Exception
getClusterGroups in interface CaveDeployerMBeanExceptionpublic void clusterFeatureRepositoryAdd(String url, String clusterGroup, String connection) throws Exception
clusterFeatureRepositoryAdd in interface CaveDeployerMBeanExceptionpublic void clusterFeatureRepositoryRemove(String url, String clusterGroup, String connection) throws Exception
clusterFeatureRepositoryRemove in interface CaveDeployerMBeanExceptionpublic void clusterFeatureInstall(String feature, String clusterGroup, String connection) throws Exception
clusterFeatureInstall in interface CaveDeployerMBeanExceptionpublic void clusterFeatureUninstall(String feature, String clusterGroup, String connection) throws Exception
clusterFeatureUninstall in interface CaveDeployerMBeanExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.