org.glassfish.admin.amx.j2ee
Interface J2EEServer

All Superinterfaces:
AMX_SPI, AMXProxy, J2EELogicalServer, J2EEManagedObject, StateManageable

@AMXMBeanMetadata(type="J2EEServer")
public interface J2EEServer
extends J2EELogicalServer


Field Summary
 
Fields inherited from interface org.glassfish.admin.amx.j2ee.StateManageable
STATE_FAILED, STATE_RUNNING, STATE_STARTING, STATE_STOPPED, STATE_STOPPING
 
Method Summary
 ObjectName getCorrespondingConfig()
           
 String[] getdeployedObjects()
          Note that the Attribute name is case-sensitive "deployedObjects" as defined by JSR 77.
 String[] getjavaVMs()
          In 8.1, there will only ever be one JVM for a J2EEServer.
 String getjvm()
          There is always a single JVM for a J2EEServer.
 String[] getresources()
          Note that the Attribute name is case-sensitive "resources" as defined by JSR 77.
 String getserverVendor()
          Note that the Attribute name is case-sensitive "serverVendor" as defined by JSR 77.
 String getserverVersion()
          Note that the Attribute name is case-sensitive "serverVersion" as defined by JSR 77.
 void restart()
          Restart the server.
 
Methods inherited from interface org.glassfish.admin.amx.j2ee.J2EELogicalServer
startApp, stopApp
 
Methods inherited from interface org.glassfish.admin.amx.j2ee.J2EEManagedObject
getobjectName, iseventProvider, isstateManageable, isstatisticsProvider
 
Methods inherited from interface org.glassfish.admin.amx.core.AMXProxy
as, attributeNames, attributesMap, attributesMap, child, child, childrenMap, childrenMap, childrenMaps, childrenSet, extra, invokeOp, invokeOp, java, nameProp, objectName, parent, parentPath, path, type, valid
 
Methods inherited from interface org.glassfish.admin.amx.core.AMX_SPI
getChildren, getName, getParent
 
Methods inherited from interface org.glassfish.admin.amx.j2ee.StateManageable
getstartTime, getstate, start, startRecursive, stop
 

Method Detail

restart

@ManagedOperation
void restart()
Restart the server. Enterprise Edition only.


getdeployedObjects

@ManagedAttribute
String[] getdeployedObjects()
Note that the Attribute name is case-sensitive "deployedObjects" as defined by JSR 77.

Returns:
the ObjectNames as Strings

getjavaVMs

@ManagedAttribute
String[] getjavaVMs()
In 8.1, there will only ever be one JVM for a J2EEServer. Note that the Attribute name is case-sensitive "javaVMs" as defined by JSR 77.

Returns:
the ObjectNames as Strings

getjvm

@ManagedAttribute
String getjvm()
There is always a single JVM for a J2EEServer.

Returns:
JVM

getresources

@ManagedAttribute
String[] getresources()
Note that the Attribute name is case-sensitive "resources" as defined by JSR 77.

Returns:
the ObjectNames as Strings

getserverVendor

@ManagedAttribute
String getserverVendor()
Note that the Attribute name is case-sensitive "serverVendor" as defined by JSR 77.

Returns:
the server vendor, a free-form String

getserverVersion

@ManagedAttribute
String getserverVersion()
Note that the Attribute name is case-sensitive "serverVersion" as defined by JSR 77.

Returns:
the server version, a free-form String

getCorrespondingConfig

@ManagedAttribute
@Description(value="Get the ObjectName of the corresponding config MBean, if any")
ObjectName getCorrespondingConfig()


Copyright © 2012. All Rights Reserved.