public class KarsMBeanImpl extends StandardMBean implements KarsMBean
| Constructor and Description |
|---|
KarsMBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(String repoName,
List<String> features)
Create a kar file for a list of feature repos
|
List<String> |
getKars()
List the installed KAR files.
|
KarService |
getKarService() |
void |
install(String url)
Install a KAR file from the given URL.
|
void |
setKarService(KarService karService) |
void |
uninstall(String name)
Uninstall a KAR file.
|
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 KarsMBeanImpl()
throws NotCompliantMBeanException
NotCompliantMBeanExceptionpublic List<String> getKars() throws MBeanException
KarsMBeangetKars in interface KarsMBeanMBeanExceptionpublic void create(String repoName, List<String> features)
KarsMBeanpublic void install(String url) throws MBeanException
KarsMBeaninstall in interface KarsMBeanurl - the JAR URL.MBeanExceptionpublic void uninstall(String name) throws MBeanException
KarsMBeanuninstall in interface KarsMBeanname - the name of the KAR file.MBeanExceptionpublic KarService getKarService()
public void setKarService(KarService karService)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.