|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JCA resource service implmentation
Method Summary | |
java.lang.String |
createResourceAdapter(javax.naming.Context ctx)
Create a Resource Adapter |
java.lang.String |
deployRar(java.lang.String fileName)
Deploy an RAR, used by management applications via J2EEServer managed object |
void |
deployRars(javax.naming.Context ctx)
Deploy the given rars of an ear file with the specified parent classloader (ear classloader). |
java.lang.String |
getRarsDirectory()
Return the Rars directory. |
java.lang.Boolean |
isRarDeployed(java.lang.String fileName)
Test if the specified filename is already deployed or not. |
boolean |
isRarDeployedByUnpackName(java.lang.String unpackName)
Test if the specified unpack name is already deployed or not. |
void |
unDeployRar(java.lang.String fileName)
Undeploy an RAR, used by management applications via J2EEServer managed object |
void |
unDeployRars(java.net.URL[] urls,
java.net.URL earUrl)
Undeploy the given rars of an ear file with the specified parent classloader (ear classloader). |
Methods inherited from interface org.objectweb.jonas.service.Service |
getName, init, isStarted, setName, start, stop |
Method Detail |
public java.lang.String createResourceAdapter(javax.naming.Context ctx) throws java.lang.Exception
ctx
- Context that defines the:
1) name of the resource adapter.
2) information to determine if the rar is in an ear
the configuration information for this resource adapter
must be found in the xml files in the rar file
being deployed
java.lang.Exception
- if the create of the RAR object fails.public java.lang.String deployRar(java.lang.String fileName) throws java.lang.Exception
fileName
- the fileName of the rar which must be be deployed.
java.lang.Exception
- if the deployment of the RAR failed.public void deployRars(javax.naming.Context ctx) throws ResourceServiceException
ctx
- Context that defines the:
This context contains the following parameters :ResourceServiceException
- if an error occurs during the deployment.public java.lang.String getRarsDirectory()
public java.lang.Boolean isRarDeployed(java.lang.String fileName)
fileName
- the name of the rar file.
public boolean isRarDeployedByUnpackName(java.lang.String unpackName)
unpackName
- the name of the rar file.
public void unDeployRar(java.lang.String fileName) throws java.lang.Exception
fileName
- the fileName of the rar which must be be undeployed.
java.lang.Exception
- if the undeployment of the RAR failed.public void unDeployRars(java.net.URL[] urls, java.net.URL earUrl)
urls
- the list of the urls of the rars to deploy.earUrl
- ear's URL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |