org.objectweb.jonas.resource.ResourceServiceImplMBean Interface Reference

Inherited by org.objectweb.jonas.resource.ResourceServiceImpl.

Inheritance diagram for org.objectweb.jonas.resource.ResourceServiceImplMBean:

Inheritance graph
[legend]
List of all members.

Public Member Functions

String deployRarMBean (String fileName) throws RemoteException, ResourceServiceException

Package Functions

void unDeployRarMBean (String fileName) throws RemoteException, ResourceServiceException
Integer getCurrentNumberOfResource ()
Integer getCurrentNumberOfRars ()
List getDeployedRars () throws Exception
List getInstalledRars () throws Exception
Set getRarNames ()
boolean isRarLoaded (String fileName)
List getDeployableRars () throws Exception
List getAutoloadDirectories ()
String getRarsDirectory ()

Detailed Description

MBean Interface for Resource Service Management MBean type: Standard MBean model: Inheritance (ResourceServiceImpl)

Definition at line 41 of file ResourceServiceImplMBean.java.


Member Function Documentation

String org.objectweb.jonas.resource.ResourceServiceImplMBean.deployRarMBean String  fileName  )  throws RemoteException, ResourceServiceException
 

Deploy an RAR, used by the JMX Management.

Parameters:
fileName the fileName of the rar which must be be deployed.
Returns:
The ObjectName of the MBean associated to the deployed J2EE Application
Exceptions:
RemoteException if rmi call failed.
ResourceServiceException if the deployment of the RAR failed.

Implemented in org.objectweb.jonas.resource.ResourceServiceImpl.

List org.objectweb.jonas.resource.ResourceServiceImplMBean.getAutoloadDirectories  )  [package]
 

Return the list of "autoload" directories for RAR containers.

Returns:
The list of all "autoload" directories

Implemented in org.objectweb.jonas.resource.ResourceServiceImpl.

Integer org.objectweb.jonas.resource.ResourceServiceImplMBean.getCurrentNumberOfRars  )  [package]
 

Returns:
current number of rars deployed in the JOnAS server

Implemented in org.objectweb.jonas.resource.ResourceServiceImpl.

Integer org.objectweb.jonas.resource.ResourceServiceImplMBean.getCurrentNumberOfResource  )  [package]
 

Returns:
current number of rars deployed in the JOnAS server

Implemented in org.objectweb.jonas.resource.ResourceServiceImpl.

List org.objectweb.jonas.resource.ResourceServiceImplMBean.getDeployableRars  )  throws Exception [package]
 

Return the list of installed RAR container ready to deploy.

Returns:
The list of deployable RAR container
Exceptions:
Exception if error retrieving the list

Implemented in org.objectweb.jonas.resource.ResourceServiceImpl.

List org.objectweb.jonas.resource.ResourceServiceImplMBean.getDeployedRars  )  throws Exception [package]
 

Returns:
the list of RAR files deployed
Exceptions:
Exception if error retrieving the list

Implemented in org.objectweb.jonas.resource.ResourceServiceImpl.

List org.objectweb.jonas.resource.ResourceServiceImplMBean.getInstalledRars  )  throws Exception [package]
 

Returns:
the list of RAR files found in JONAS_BASE/rars and in JONAS_BASE/rars/autoload
Exceptions:
Exception if error retrieving the list

Implemented in org.objectweb.jonas.resource.ResourceServiceImpl.

Set org.objectweb.jonas.resource.ResourceServiceImplMBean.getRarNames  )  [package]
 

This method is added temporarily. It will disapear when Rars will have their associated MBeans (when Rars will become manageable)

Returns:
the names of the rars currently deployed in the JOnAS server

Implemented in org.objectweb.jonas.resource.ResourceServiceImpl.

String org.objectweb.jonas.resource.ResourceServiceImplMBean.getRarsDirectory  )  [package]
 

Return the Rars directory.

Returns:
The Rars directory

Implemented in org.objectweb.jonas.resource.ResourceServiceImpl.

boolean org.objectweb.jonas.resource.ResourceServiceImplMBean.isRarLoaded String  fileName  )  [package]
 

Test if the specified filename is already deployed or not

Parameters:
fileName the name of the rar file.
Returns:
true if the rar is deployed, else false.

Implemented in org.objectweb.jonas.resource.ResourceServiceImpl.

void org.objectweb.jonas.resource.ResourceServiceImplMBean.unDeployRarMBean String  fileName  )  throws RemoteException, ResourceServiceException [package]
 

Undeploy an RAR, used by the JMX Management.

Parameters:
fileName the fileName of the rar which must be be undeployed.
Exceptions:
RemoteException if rmi call failed.
ResourceServiceException if the undeployment of the RAR failed.

Implemented in org.objectweb.jonas.resource.ResourceServiceImpl.


The documentation for this interface was generated from the following file:
Generated on Tue Feb 15 15:07:31 2005 for JOnAS by  doxygen 1.3.9.1