Package org.glassfish.admin.amx.j2ee
Interface J2EEServer
- All Superinterfaces:
org.glassfish.admin.amx.core.AMX_SPI,org.glassfish.admin.amx.core.AMXProxy,J2EELogicalServer,J2EEManagedObject,StateManageable
-
Field Summary
Fields inherited from interface org.glassfish.admin.amx.j2ee.StateManageable
STATE_FAILED, STATE_RUNNING, STATE_STARTING, STATE_STOPPED, STATE_STOPPING -
Method Summary
Modifier and TypeMethodDescriptionString[]Note that the Attribute name is case-sensitive "deployedObjects" as defined by JSR 77.String[]In 8.1, there will only ever be one JVM for a J2EEServer.getjvm()There is always a single JVM for a J2EEServer.String[]Note that the Attribute name is case-sensitive "resources" as defined by JSR 77.Note that the Attribute name is case-sensitive "serverVendor" as defined by JSR 77.Note that the Attribute name is case-sensitive "serverVersion" as defined by JSR 77.voidrestart()Restart the server.Methods inherited from interface org.glassfish.admin.amx.core.AMX_SPI
getChildren, getName, getParentMethods 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, validMethods inherited from interface org.glassfish.admin.amx.j2ee.J2EELogicalServer
startApp, stopAppMethods inherited from interface org.glassfish.admin.amx.j2ee.J2EEManagedObject
getobjectName, iseventProvider, isstateManageable, isstatisticsProviderMethods inherited from interface org.glassfish.admin.amx.j2ee.StateManageable
getstartTime, getstate, start, startRecursive, stop
-
Method Details
-
restart
@ManagedOperation void restart()Restart the server. Enterprise Edition only. -
getdeployedObjects
Note that the Attribute name is case-sensitive "deployedObjects" as defined by JSR 77.- Returns:
- the ObjectNames as Strings
-
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
There is always a single JVM for a J2EEServer.- Returns:
- JVM
-
getresources
Note that the Attribute name is case-sensitive "resources" as defined by JSR 77.- Returns:
- the ObjectNames as Strings
-
getserverVendor
Note that the Attribute name is case-sensitive "serverVendor" as defined by JSR 77.- Returns:
- the server vendor, a free-form 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("Get the ObjectName of the corresponding config MBean, if any") ObjectName getCorrespondingConfig()
-