|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean Interface for Resource Service Management MBean type: Standard MBean model: Inheritance (ResourceServiceImpl)
Method Summary | |
java.lang.String |
deployRarMBean(java.lang.String fileName)
Deploy an RAR, used by the JMX Management. |
java.util.List |
getAutoloadDirectories()
Return the list of "autoload" directories for RAR containers. |
java.lang.Integer |
getCurrentNumberOfRars()
|
java.lang.Integer |
getCurrentNumberOfResource()
|
java.util.List |
getDeployableRars()
Return the list of installed RAR container ready to deploy. |
java.util.List |
getDeployedRars()
|
java.util.List |
getInstalledRars()
|
java.util.Set |
getRarNames()
This method is added temporarily. |
java.lang.String |
getRarsDirectory()
Return the Rars directory. |
boolean |
isRarLoaded(java.lang.String fileName)
Test if the specified filename is already deployed or not |
void |
unDeployRarMBean(java.lang.String fileName)
Undeploy an RAR, used by the JMX Management. |
Method Detail |
public java.lang.String deployRarMBean(java.lang.String fileName) throws java.rmi.RemoteException, ResourceServiceException
fileName
- the fileName of the rar which must be be deployed.
java.rmi.RemoteException
- if rmi call failed.
ResourceServiceException
- if the deployment of the RAR failed.public void unDeployRarMBean(java.lang.String fileName) throws java.rmi.RemoteException, ResourceServiceException
fileName
- the fileName of the rar which must be be undeployed.
java.rmi.RemoteException
- if rmi call failed.
ResourceServiceException
- if the undeployment of the RAR failed.public java.lang.Integer getCurrentNumberOfResource()
public java.lang.Integer getCurrentNumberOfRars()
public java.util.List getDeployedRars() throws java.lang.Exception
java.lang.Exception
- if error retrieving the listpublic java.util.List getInstalledRars() throws java.lang.Exception
java.lang.Exception
- if error retrieving the listpublic java.util.Set getRarNames()
public boolean isRarLoaded(java.lang.String fileName)
fileName
- the name of the rar file.
public java.util.List getDeployableRars() throws java.lang.Exception
java.lang.Exception
- if error retrieving the listpublic java.util.List getAutoloadDirectories()
public java.lang.String getRarsDirectory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |