Inheritance diagram for org.objectweb.jonas.resource.ResourceServiceImpl:
Public Member Functions | |
ResourceServiceImpl () | |
void | doInit (Context ctx) |
void | doStart () throws ServiceException |
void | doStop () throws ServiceException |
String | createResourceAdapter (Context ctx) throws Exception |
void | deployRars (Context ctx) throws ResourceServiceException |
void | unDeployRars (URL[] urls, URL earUrl) |
void | unRegisterRar (Context ctx) throws Exception |
Integer | getCurrentNumberOfResource () |
Integer | getCurrentNumberOfRars () |
List | getDeployedRars () |
List | getInstalledRars () throws Exception |
Set | getRarNames () |
String | deployRarMBean (String fileName) throws RemoteException, ResourceServiceException |
String | deployRar (String fileName) throws Exception |
Boolean | isRarDeployed (String fileName) |
boolean | isRarDeployedByUnpackName (String unpackName) |
void | unDeployRarMBean (String fileName) throws RemoteException, ResourceServiceException |
void | unDeployRar (String fileName) throws Exception |
boolean | isRarLoaded (String fileName) |
List | getDeployableRars () throws Exception |
List | getAutoloadDirectories () |
String | getRarsDirectory () |
Static Public Attributes | |
final String | AUTOLOADDIR = "jonas.service.resource.autoloaddir" |
final String | CLASS = "jonas.service.resource.class" |
final String | JNDI_NAME = "jndiname" |
final String | RAR_OBJNAME = "rarobjname" |
final String | FACTORY_OFFSET = "factoryoffset" |
final String | FACTORY_TYPE = "factorytype" |
final String | RAR_FILENAME = "rarfilename" |
final String | LNK_JNDI_NAME = "lnkjndiname" |
final String | LNK_RAR_FILENAME = "lnkrarfilename" |
final String | JONAS_RA_XML = "jonasraxml" |
final String | RA_XML = "raxml" |
final String | PARSINGWITHVALIDATION = "jonas.service.resource.parsingwithvalidation" |
final String | RESOURCE_LIST = "jonas.service.resource.resources" |
final String | THREADWAITTIMEOUT = "jonas.service.resource.threadwaittimeout" |
final String | MINWORKTHREADS = "jonas.service.resource.minworkthreads" |
final String | MAXWORKTHREADS = "jonas.service.resource.maxworkthreads" |
final String | EXECTIMEOUT = "jonas.service.resource.worktimeout" |
final int | DEF_WRK_THREADWAITTIMEOUT = 60 |
final int | DEF_WRK_THREADS = 5 |
final int | DEF_MAX_WRK_THREADS = 80 |
final int | DEF_EXEC_TIME = 0 |
final String | JONAS_BASE = JProp.getJonasBase() |
final String | WORK_RARS_DIR = JProp.getWorkDir() + File.separator + "rars" |
final String | RARSDIR = JProp.getJonasBase() + File.separator + "rars" |
Definition at line 81 of file ResourceServiceImpl.java.
|
Default construtor for ResourceService Definition at line 278 of file ResourceServiceImpl.java. |
|
Create a new resource adapter. This Resource Adapter is configured via xml files in the rar file
Implements org.objectweb.jonas.resource.ResourceService. Definition at line 574 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.Rar.fileName2RA, org.objectweb.jonas.resource.Rar.getJndinames(), org.objectweb.jonas.resource.Rar.jndiName2RA, org.objectweb.jonas.resource.Rar.processRar(), and org.objectweb.jonas.resource.ResourceServiceImpl.RARSDIR. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.deployRarMBean(), org.objectweb.jonas.resource.ResourceServiceImpl.deployRars(), and org.objectweb.jonas.resource.ResourceServiceImpl.doStart(). |
Here is the call graph for this function:
|
Deploy the resource adapter
Implements org.objectweb.jonas.resource.ResourceService. Definition at line 943 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.ResourceServiceImpl.deployRarMBean(). |
Here is the call graph for this function:
|
Deploy an RAR by delegating the operation to the createResourceAdapter method. This is used for JMX management.
Implements org.objectweb.jonas.resource.ResourceServiceImplMBean. Definition at line 918 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(). Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.deployRar(). |
Here is the call graph for this function:
|
Deploy the given rars of an ear file with the specified parent classloader (ear classloader). (This method is only used for for ear applications).
Implements org.objectweb.jonas.resource.ResourceService. Definition at line 678 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(), org.objectweb.jonas.naming.CompNamingContext.rebind(), and org.objectweb.jonas.resource.ResourceServiceImpl.unRegisterRar(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Start the Resource service.
Definition at line 461 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(), org.objectweb.jonas.naming.CompNamingContext.lookup(), and org.objectweb.jonas.naming.CompNamingContext.rebind(). |
Here is the call graph for this function:
|
Stop the Resource service.
Definition at line 522 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.Rar.fileName2RA, and org.objectweb.jonas.resource.Rar.unRegister(). |
Here is the call graph for this function:
|
Return the list of "autoload" directories for RAR containers.
Implements org.objectweb.jonas.resource.ResourceServiceImplMBean. Definition at line 1103 of file ResourceServiceImpl.java. |
|
Implements org.objectweb.jonas.resource.ResourceServiceImplMBean. Definition at line 852 of file ResourceServiceImpl.java. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.getCurrentNumberOfResource(). |
|
Implements org.objectweb.jonas.resource.ResourceServiceImplMBean. Definition at line 844 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.ResourceServiceImpl.getCurrentNumberOfRars(). |
Here is the call graph for this function:
|
Return the list of installed RAR container ready to deploy.
Implements org.objectweb.jonas.resource.ResourceServiceImplMBean. Definition at line 1093 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.ResourceServiceImpl.getDeployedRars(), and org.objectweb.jonas.resource.ResourceServiceImpl.getInstalledRars(). |
Here is the call graph for this function:
|
Implements org.objectweb.jonas.resource.ResourceServiceImplMBean. Definition at line 860 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.Rar.fileName2RA. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.getDeployableRars(). |
|
Return the list of installed RAR containers. The RAR files or the directories with expanded RAR container are searched in JONAS_BASE/rars and all rar directories 'autoload'.
Implements org.objectweb.jonas.resource.ResourceServiceImplMBean. Definition at line 882 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.ResourceServiceImpl.RARSDIR. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.getDeployableRars(). |
|
This method is added temporarily. It will disapear when Rars will have their associated MBeans (when Rars will become manageable)
Implements org.objectweb.jonas.resource.ResourceServiceImplMBean. Definition at line 899 of file ResourceServiceImpl.java. |
|
Return the Rars directory.
Implements org.objectweb.jonas.resource.ResourceService. Definition at line 1119 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.ResourceServiceImpl.RARSDIR. |
|
Test if the specified filename is already deployed or not.
Implements org.objectweb.jonas.resource.ResourceService. Definition at line 952 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.ResourceServiceImpl.isRarLoaded(). |
Here is the call graph for this function:
|
Test if the specified unpack name is already deployed or not. This method is defined in the ResourceService interface.
Implements org.objectweb.jonas.resource.ResourceService. Definition at line 962 of file ResourceServiceImpl.java. |
|
Test if the specified filename is already deployed or not
Implements org.objectweb.jonas.resource.ResourceServiceImplMBean. Definition at line 1059 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.ResourceServiceImpl.RARSDIR. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.isRarDeployed(). |
|
Undeploy the resource adapter
Implements org.objectweb.jonas.resource.ResourceService. Definition at line 1050 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.ResourceServiceImpl.unDeployRarMBean(). |
Here is the call graph for this function:
|
Undeploy an RAR by delegating the operation to the unRegisterRar() method. This is used for JMX management.
Implements org.objectweb.jonas.resource.ResourceServiceImplMBean. Definition at line 990 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.ResourceServiceImpl.RARSDIR, org.objectweb.jonas.naming.CompNamingContext.rebind(), and org.objectweb.jonas.resource.ResourceServiceImpl.unRegisterRar(). Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.unDeployRar(). |
Here is the call graph for this function:
|
Undeploy the given rars of an ear file. (This method is only used for the ear applications).
Implements org.objectweb.jonas.resource.ResourceService. Definition at line 777 of file ResourceServiceImpl.java. References org.objectweb.jonas.naming.CompNamingContext.rebind(), and org.objectweb.jonas.resource.ResourceServiceImpl.unRegisterRar(). |
Here is the call graph for this function:
|
Unregister the resource adapter.
Definition at line 803 of file ResourceServiceImpl.java. References org.objectweb.jonas.resource.Rar.fileName2RA, org.objectweb.jonas.resource.Rar.getJndinames(), org.objectweb.jonas.resource.Rar.jndiName2RA, org.objectweb.jonas.naming.CompNamingContext.lookup(), and org.objectweb.jonas.resource.Rar.unRegister(). Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.deployRars(), org.objectweb.jonas.resource.ResourceServiceImpl.unDeployRarMBean(), and org.objectweb.jonas.resource.ResourceServiceImpl.unDeployRars(). |
Here is the call graph for this function:
|
Autoload directory property name Definition at line 109 of file ResourceServiceImpl.java. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.doInit(). |
|
Service class property name Definition at line 113 of file ResourceServiceImpl.java. |
|
Maximum work execution timeout (0 is unlimited) Definition at line 190 of file ResourceServiceImpl.java. |
|
Default max number of work threads Definition at line 186 of file ResourceServiceImpl.java. |
|
Default number of work threads Definition at line 182 of file ResourceServiceImpl.java. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.doInit(). |
|
Default work thread timeout Definition at line 178 of file ResourceServiceImpl.java. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.doInit(). |
|
Work max execution timeout property name Definition at line 173 of file ResourceServiceImpl.java. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.doInit(). |
|
Factory offset property name Definition at line 125 of file ResourceServiceImpl.java. |
|
Factory type property name Definition at line 129 of file ResourceServiceImpl.java. |
|
Jndiname property name Definition at line 117 of file ResourceServiceImpl.java. |
|
The name of the JONAS_BASE directory Definition at line 258 of file ResourceServiceImpl.java. |
|
Jonas ra.xml property name Definition at line 145 of file ResourceServiceImpl.java. |
|
Jndiname link property name Definition at line 137 of file ResourceServiceImpl.java. |
|
Link Rar filename property name Definition at line 141 of file ResourceServiceImpl.java. |
|
Maximum number of work threads property name Definition at line 169 of file ResourceServiceImpl.java. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.doInit(). |
|
Minimum number of work threads property name Definition at line 165 of file ResourceServiceImpl.java. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.doInit(). |
|
Parsing validation property name Definition at line 153 of file ResourceServiceImpl.java. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.doInit(). |
|
ra.xml property name Definition at line 149 of file ResourceServiceImpl.java. |
|
Rar filename property name Definition at line 133 of file ResourceServiceImpl.java. |
|
Rar object property name Definition at line 121 of file ResourceServiceImpl.java. |
|
The name of the rars directory Definition at line 268 of file ResourceServiceImpl.java. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(), org.objectweb.jonas.resource.ResourceServiceImpl.getInstalledRars(), org.objectweb.jonas.resource.ResourceServiceImpl.getRarsDirectory(), org.objectweb.jonas.resource.ResourceServiceImpl.isRarLoaded(), and org.objectweb.jonas.resource.ResourceServiceImpl.unDeployRarMBean(). |
|
Resources list property name Definition at line 157 of file ResourceServiceImpl.java. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.doInit(). |
|
Thread timeout Definition at line 161 of file ResourceServiceImpl.java. Referenced by org.objectweb.jonas.resource.ResourceServiceImpl.doInit(). |
|
The name of the working apps directory. Definition at line 263 of file ResourceServiceImpl.java. |