Public Member Functions | |
J2EEServer (String objectName, Server server, String serverName, String serverVersion, String serverVendor, String protocols) | |
String | getServerName () |
String | getServerVersion () |
String | getServerVendor () |
List | getDeployedObjects () |
void | addDeployedObject (String objectName) |
void | removeDeployedObject (String objectName) |
List | getResources () |
List | getJavaVMs () |
void | addJavaVM (String objectName) |
String | getProtocols () |
void | stop () throws Exception |
void | runGC () |
long | getCurrentUsedMemory () |
long | getCurrentTotalMemory () |
void | setRange (int range) |
int | getRange () |
void | setSizeTableMeasures (int sizeMeasuresTable) |
int | getSizeTableMeasures () |
Long[] | getTableMeasures () |
void | timeoutExpired (Object arg) |
void | setActivated (boolean pActivated) |
boolean | isActivated () |
String | deployJar (String fileName) throws Exception |
Boolean | isJarDeployed (String fileName) throws Exception |
void | unDeployJar (String fileName) throws Exception |
Boolean | isWarDeployed (String fileName) throws Exception |
void | deployWar (String fileName) throws Exception |
void | unDeployWar (String fileName) throws Exception |
String | deployEar (String fileName) throws Exception |
Boolean | isEarDeployed (String fileName) throws Exception |
void | unDeployEar (String fileName) throws Exception |
String | deployRar (String fileName) throws Exception |
Boolean | isRarDeployed (String fileName) throws Exception |
void | unDeployRar (String fileName) throws Exception |
void | addResource (String pObjectName) |
String | removeResource (String pObjectName) |
void | sendNotification (Notification notification) |
void | addNotificationListener (NotificationListener listner, NotificationFilter filter, java.lang.Object handback) throws java.lang.IllegalArgumentException |
void | handleNotification (Notification notification, java.lang.Object handback) |
Michel Bruno
contributors Adriana Danes, Michel-Ange Anton
Definition at line 65 of file J2EEServer.java.
|
MBean constructor
Definition at line 137 of file J2EEServer.java. References org.objectweb.jonas.server.Server.getInstance(), org.objectweb.jonas.jmx.JmxService.getJmxServer(), and org.objectweb.jonas.server.Server.serverName. |
Here is the call graph for this function:
|
Add an object name to the
Definition at line 224 of file J2EEServer.java. |
|
Add an object name to the
Definition at line 256 of file J2EEServer.java. Referenced by org.objectweb.jonas.server.Server.start(). |
|
Add a new listener.
Definition at line 711 of file J2EEServer.java. |
|
Add an object name to the
Definition at line 637 of file J2EEServer.java. References org.objectweb.jonas.server.J2EEServer.sendNotification(). |
Here is the call graph for this function:
|
Deploy a J2EE application packaged in a EAR file
Definition at line 556 of file J2EEServer.java. References org.objectweb.jonas.ear.EarService.deployEar(). |
Here is the call graph for this function:
|
Deploy a stand-alone J2EE module packaged in a JAR file
Definition at line 474 of file J2EEServer.java. References org.objectweb.jonas.container.EJBService.createContainer(). |
Here is the call graph for this function:
|
Deploy a J2EE application packaged in a RAR file
Definition at line 598 of file J2EEServer.java. References org.objectweb.jonas.resource.ResourceService.deployRar(). |
Here is the call graph for this function:
|
Deploy a stand-alone J2EE module packaged in a WAR file
Definition at line 529 of file J2EEServer.java. References org.objectweb.jonas.web.JWebContainerService.registerWarMBean(). |
Here is the call graph for this function:
|
get jvm total memory
Definition at line 295 of file J2EEServer.java. |
|
get jvm used memory
Definition at line 287 of file J2EEServer.java. |
|
Return the list of MBean names corresponding to the deployed J2EEModules and J2EEApplications
Definition at line 216 of file J2EEServer.java. |
|
Return the list of MBean names corresponding to the JVMs on which this server has running threads
Definition at line 248 of file J2EEServer.java. |
|
Protocols supported by this Server
Definition at line 264 of file J2EEServer.java. |
|
get range
Definition at line 322 of file J2EEServer.java. |
|
Return the list of MBean names corresponding to the resources available on this server
Definition at line 240 of file J2EEServer.java. |
|
Server name
Definition at line 192 of file J2EEServer.java. Referenced by org.objectweb.jonas.server.J2EEServer.handleNotification(). |
|
Server vendor
Definition at line 208 of file J2EEServer.java. |
|
Server version
Definition at line 200 of file J2EEServer.java. |
|
Get the size of the table of measures
Definition at line 346 of file J2EEServer.java. |
|
get the table of value
Definition at line 354 of file J2EEServer.java. |
|
Treat the notifications emitted by the JMX server. This method determines the type of the notification and calls the specific treatement.
Definition at line 731 of file J2EEServer.java. References org.objectweb.jonas.server.J2EEServer.getServerName(). |
Here is the call graph for this function:
|
get monitoring activation
Definition at line 426 of file J2EEServer.java. |
|
Test if the specified filename is already deployed or not. This method is defined in the EarService interface.
Definition at line 571 of file J2EEServer.java. References org.objectweb.jonas.ear.EarService.isEarDeployed(). |
Here is the call graph for this function:
|
Test if the specified filename is already deployed or not.
Definition at line 488 of file J2EEServer.java. References org.objectweb.jonas.container.EJBService.isJarDeployed(). |
Here is the call graph for this function:
|
Test if the specified filename is already deployed or not.
Definition at line 612 of file J2EEServer.java. References org.objectweb.jonas.resource.ResourceService.isRarDeployed(). |
Here is the call graph for this function:
|
Test if the specified filename is already deployed or not.
Definition at line 515 of file J2EEServer.java. References org.objectweb.jonas.web.JWebContainerService.isWarLoaded(). |
Here is the call graph for this function:
|
Remove an object name to the
Definition at line 232 of file J2EEServer.java. |
|
Remove an object name from the
Definition at line 666 of file J2EEServer.java. References org.objectweb.jonas.server.J2EEServer.sendNotification(). |
Here is the call graph for this function:
|
run the garbage collector Definition at line 279 of file J2EEServer.java. |
|
Send a notification to the listener.
Definition at line 692 of file J2EEServer.java. References org.objectweb.jonas.management.ListenerJavaBean.getHandback(), and org.objectweb.jonas.management.ListenerJavaBean.getListener(). Referenced by org.objectweb.jonas.server.J2EEServer.addResource(), and org.objectweb.jonas.server.J2EEServer.removeResource(). |
Here is the call graph for this function:
|
set monitoring activation
Definition at line 398 of file J2EEServer.java. References org.objectweb.jonas.server.Server.getInstance(), and org.objectweb.jonas.server.Server.stop(). |
Here is the call graph for this function:
|
set range
change range Definition at line 303 of file J2EEServer.java. |
|
Set the size of the table of measures
Definition at line 330 of file J2EEServer.java. |
|
Stop server (with stopping the JVM) Definition at line 271 of file J2EEServer.java. References org.objectweb.jonas.server.Server.stop(). |
Here is the call graph for this function:
|
The measures timeout has expired Do not synchronize this method to avoid deadlocks!
Definition at line 366 of file J2EEServer.java. |
|
undeploy a J2EE application packaged in a EAR file
Definition at line 584 of file J2EEServer.java. References org.objectweb.jonas.ear.EarService.unDeployEar(). |
Here is the call graph for this function:
|
Uneploy a stand-alone J2EE module packaged in a JAR file
Definition at line 501 of file J2EEServer.java. References org.objectweb.jonas.container.EJBService.removeContainer(). |
Here is the call graph for this function:
|
undeploy a J2EE application packaged in a RAR file
Definition at line 625 of file J2EEServer.java. References org.objectweb.jonas.resource.ResourceService.unDeployRar(). |
Here is the call graph for this function:
|
Uneploy a stand-alone J2EE module packaged in a WAR file
Definition at line 543 of file J2EEServer.java. References org.objectweb.jonas.web.JWebContainerService.unRegisterWarMBean(). |
Here is the call graph for this function: