|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceService
JCA resource service implmentation
Method Summary | |
---|---|
String |
createResourceAdapter(Context ctx)
Create a Resource Adapter |
String |
deployRar(String fileName)
Deploy an RAR, used by management applications via J2EEServer managed object |
void |
deployRars(Context ctx)
Deploy the given rars of an ear file with the specified parent classloader (ear classloader). |
Rar |
getRar(String jndiName)
Get a Rar by its jndi name |
Boolean |
isRarDeployed(String fileName)
Test if the specified filename is already deployed or not. |
boolean |
isRarDeployedByUnpackName(String unpackName)
Test if the specified unpack name is already deployed or not. |
boolean |
isRarLoaded(String fileName)
Test if the specified filename is already deployed or not. |
void |
unDeployRar(String fileName)
Undeploy an RAR, used by management applications via J2EEServer managed object |
void |
unDeployRars(URL[] urls,
URL earUrl)
Undeploy the given rars of an ear file with the specified parent classloader (ear classloader). |
Methods inherited from interface org.ow2.jonas.service.Service |
---|
getName, init, isStarted, setName, start, stop |
Method Detail |
---|
String createResourceAdapter(Context ctx) throws 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
Exception
- if the create of the RAR object fails.String deployRar(String fileName) throws Exception
fileName
- the fileName of the rar which must be be deployed.
Exception
- if the deployment of the RAR failed.void deployRars(Context ctx) throws ResourceServiceException
ctx
- Context that defines the:
This context contains the following parameters :ResourceServiceException
- if an error occurs during the deployment.boolean isRarLoaded(String fileName)
fileName
- the name of the rar file.
Boolean isRarDeployed(String fileName)
fileName
- the name of the rar file.
boolean isRarDeployedByUnpackName(String unpackName)
unpackName
- the name of the rar file.
void unDeployRar(String fileName) throws Exception
fileName
- the fileName of the rar which must be be undeployed.
Exception
- if the undeployment of the RAR failed.void unDeployRars(URL[] urls, URL earUrl)
urls
- the list of the urls of the rars to deploy.earUrl
- ear's URLRar getRar(String jndiName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |