| org.objectweb.jonas.resource.ResourceService
All known Subclasses: org.objectweb.jonas.resource.ResourceServiceImpl,
ResourceService | public interface ResourceService extends Service(Code) | | JCA resource service implmentation
author: Philippe Coq author: Contributor(s): author: JOnAS 2.4 Sebastien Chassande-Barrioz (sebastien.chassande@inrialpes.fr) author: JOnAS 3.0 Eric Hardesty (Eric.Hardesty@bull.com) author: JOnAS 4.0 Adriana Danes (JSR 77 + use of Jakarta Modeler Component : http://jakarta.apache.org/commons/modeler) author: Eric Hardesty (J2CA 1.5) |
createResourceAdapter | String createResourceAdapter(Context ctx) throws Exception(Code) | | Create a Resource Adapter
Parameters: ctx - Context that defines the:1) name of the resource adapter.2) information to determine if the rar is in an earthe configuration information for this resource adaptermust be found in the xml files in the rar filebeing deployed The ObjectName of the MBean associated to the deployed J2EE Application throws: Exception - if the create of the RAR object fails. |
deployRar | String deployRar(String fileName) throws Exception(Code) | | Deploy an RAR, used by management applications via J2EEServer managed object
Parameters: fileName - the fileName of the rar which must be be deployed. The ObjectName of the MBean associated to the deployed J2EE Application throws: Exception - if the deployment of the RAR failed. |
deployRars | void deployRars(Context ctx) throws ResourceServiceException(Code) | | Deploy the given rars of an ear file with the specified parent
classloader (ear classloader). (This method is only used for
the ear applications).
Parameters: ctx - Context that defines the:This context contains the following parameters : - urls the list of the urls of the rars to deploy. - earRootURL the URL of the ear application file. - earClassLoader the ear classLoader of the j2ee app. - altDDs the optional URI of deployment descriptor.
throws: ResourceServiceException - if an error occurs during the deployment. |
getRarsDirectory | String getRarsDirectory()(Code) | | Return the Rars directory.
The Rars directory |
isRarDeployed | Boolean isRarDeployed(String fileName)(Code) | | Test if the specified filename is already deployed or not.
Parameters: fileName - the name of the rar file. true if the rar is deployed, else false. |
isRarDeployedByUnpackName | boolean isRarDeployedByUnpackName(String unpackName)(Code) | | Test if the specified unpack name is already deployed or not. This
method is defined in the RarService interface.
Parameters: unpackName - the name of the rar file. true if the rar is deployed, else false. |
unDeployRar | void unDeployRar(String fileName) throws Exception(Code) | | Undeploy an RAR, used by management applications via J2EEServer managed object
Parameters: fileName - the fileName of the rar which must be be undeployed. throws: Exception - if the undeployment of the RAR failed. |
unDeployRars | void unDeployRars(URL[] urls, URL earUrl)(Code) | | Undeploy the given rars of an ear file with the specified parent
classloader (ear classloader). (This method is only used for
the ear applications).
Parameters: urls - the list of the urls of the rars to deploy. Parameters: earUrl - ear's URL |
|
|