Uses of Class
org.glassfish.admin.amx.annotation.ManagedOperation
-
Packages that use ManagedOperation Package Description org.glassfish.admin.amx.base org.glassfish.admin.amx.config Generic AMX config MBean interfaces.org.glassfish.admin.amx.j2ee org.glassfish.admin.amx.logging -
-
Uses of ManagedOperation in org.glassfish.admin.amx.base
Methods in org.glassfish.admin.amx.base with annotations of type ManagedOperation Modifier and Type Method Description voidSample. addAttribute(String name, Object value)Add a new Attribute.voidRealms. addUser(String realm, String user, String password, String[] groupList)ObjectName[]Pathnames. ancestors(String path)Resolves the path to an ObjectName, then calls ancestors(objectName).ObjectName[]Pathnames. ancestors(ObjectName objectName)An efficient way to get the list of MBeans from DomainRoot on down to the specified MBean.Object[]BulkAccess. bulkGetAttribute(ObjectName[] objectNames, String attributeName)Call getAttribute( attributeName ) for multiple MBeans.Object[]BulkAccess. bulkGetAttributeNames(ObjectName[] objectNames)Call getMBeanInfo().getAttributes() for multiple MBeans, then extracts the Attribute name from each Attribute.Object[]BulkAccess. bulkGetAttributes(ObjectName[] objectNames, String[] attributeNames)Call getAttributes( attributeNames ) for multiple MBeans.Object[]BulkAccess. bulkGetMBeanAttributeInfo(ObjectName[] objectNames)Call getMBeanInfo().getAttributes() for multiple MBeans.Object[]BulkAccess. bulkGetMBeanInfo(ObjectName[] objectNames)Call getMBeanInfo() for multiple MBeans.Object[]BulkAccess. bulkGetMBeanOperationInfo(ObjectName[] objectNames)Call getMBeanInfo().getOperations() for multiple MBeans.Object[]BulkAccess. bulkInvoke(ObjectName[] objectNames, String operationName, Object[] args, String[] types)Call invoke( ...Object[]BulkAccess. bulkSetAttribute(ObjectName[] objectNames, Attribute attr)Call setAttribute( attr ) for multiple MBeans.byte[]Sample. downloadBytes(int numBytes)String[]Pathnames. dump(String path)voidSample. emitNotifications(Object data, int numNotifs, long intervalMillis)Emit 'numNotifs' notifications of type SAMPLE_NOTIFICATION_TYPE at the specified interval.StringRuntimeRoot. executeREST(String command)Execute a REST command.Set<ObjectName>MBeanTrackerMBean. getChildrenOf(ObjectName parent)Get all children of the specified MBean.StringRuntimeRoot. getContextRoot(String applicationName, String moduleName)Return the context root of a specified module.List<Map<String,String>>RuntimeRoot. getDeploymentConfigurations(String applicationName)Return a list of deployment descriptor maps for the specified application.AMXProxyQuery. getGlobalSingleton(String type)String[]Realms. getGroupNames(String realm)String[]Realms. getGroupNames(String realm, String user)StringRuntimeRoot. getJVMReport(String which)Which: all | summary | memory| class | thread logObjectNameMBeanTrackerMBean. getParentOf(ObjectName child)Map<String,String>RuntimeRoot. getSubComponentsOfModule(String applicationName, String moduleName)Return the subcomponents (ejb/web) of a specified module.Map<String,Object>Realms. getUserAttributes(String realm, String user)String[]Realms. getUserNames(String realm)StringTools. info(String searchString)emit information about MBeans, loosey-goosey seach string eg type alone, pattern, etcStringTools. infoPath(String path)emit information about all MBeans of the specified type, or pathStringTools. infoPP(String parentPath, boolean recursive)emit information about all MBeans having the specified parent path (PP), recursively or notStringTools. infoType(String type)emit information about all MBeans of the specified type, or pathStringTools. java(ObjectName objectName)Get a compilable java interface for the specified MBeanObjectName[]Pathnames. listObjectNames(String path, boolean recursive)List descendant ObjectNames.String[]Pathnames. listPaths(String path, boolean recursive)List descendant paths.Set<AMXProxy>Query. queryAll()Return all AMX MBeansAMXProxy[]Query. queryDescendants(ObjectName parentObjectName)Set<AMXProxy>Query. queryName(String name)Return allAMXProxyhaving the specified name.Set<AMXProxy>Query. queryPattern(ObjectName pattern)Return all AMX whose ObjectName matches the supplied pattern, as defined by the JMX specification.Set<AMXProxy>Query. queryProps(String props)Return all AMX MBeans matching the specfied ObjectName propertiesSet<AMXProxy>Query. queryType(String type)Set<AMXProxy>Query. queryTypeName(String type, String name)Return all AMX whose type and name matches.Set<AMXProxy>Query. queryTypes(Set<String> type)Set<AMXProxy>Query. queryWildAll(String[] wildKeys, String[] wildValues)Return all AMX MBeans whose whose ObjectName matches all property expressions.voidSample. removeAttribute(String name)Remove an Attribute.voidRealms. removeUser(String realm, String user)ObjectNamePathnames. resolvePath(String path)Resolve a path to an ObjectName.ObjectName[]Pathnames. resolvePaths(String[] paths)Paths that don't resolve result in a null entryvoidRuntimeRoot. restartDomain()voidDomainRoot. stopDomain()voidRuntimeRoot. stopDomain()booleanRealms. supportsUserManagement(String realmName)voidRealms. updateUser(String realm, String user, String newUser, String password, String[] groupList)voidSample. uploadBytes(byte[] bytes)For testing bandwidth...StringTools. validate()Validate all AMX MBeans.StringTools. validate(ObjectName objectNameOrPattern)Validate a single MBean or MBeans specified by a pattern.StringTools. validate(ObjectName[] mbeans)Validate MBeans: specific ObjectNames and/or patterns.voidDomainRoot. waitAMXReady()Wait (block) until AMX is ready for use. -
Uses of ManagedOperation in org.glassfish.admin.amx.config
Methods in org.glassfish.admin.amx.config with annotations of type ManagedOperation Modifier and Type Method Description AMXConfigProxyAMXConfigProxy. createChild(String childType, Map<String,Object> params)Deprecated.Generic creation of anAMXConfigProxybased on the desired XML element type, which must be legitimate for the containing element.AMXConfigProxy[]AMXConfigProxy. createChildren(Map<String,Map<String,Object>[]> childrenMaps, Map<String,Object> attrs)Deprecated.Create one or more children of any type(s).Map<String,String>AMXConfigProxy. getDefaultValues(boolean useAMXAttributeName)Deprecated.Return a Map of default values for this MBean.Map<String,String>AMXConfigProxy. getDefaultValues(String type, boolean useAMXAttributeName)Deprecated.Return a Map of default values for the specified child type.ObjectNameAMXConfigProxy. removeChild(String childType)Deprecated.Generically remove a config by type (child must be a singleton)ObjectNameAMXConfigProxy. removeChild(String childType, String name)Deprecated.Remove a config by type and name.StringAttributeResolver. resolveAttribute(String attributeName)Deprecated.calls getAttribute(), then returns the resolved value or nullAttributeListAttributeResolver. resolveAttributes(String[] attributeNames)Deprecated.Calls getAttributes(), then returns all resolved values.StringAttributeResolver. resolveAttributeValue(String value)Deprecated.Resolve an attribute value to a literal.BooleanAttributeResolver. resolveBoolean(String attributeName)Deprecated.Get the Attribute and resolve it to a Boolean or nullLongAttributeResolver. resolveLong(String attributeName)Deprecated.Get the Attribute and resolve it to a Long or nullAttributeListAMXConfigProxy. setAttributesTransactionally(AttributeList attrs)Deprecated.Direct access to the MBeanServer, calls conn.setAttributes(objectName, attrs). -
Uses of ManagedOperation in org.glassfish.admin.amx.j2ee
Methods in org.glassfish.admin.amx.j2ee with annotations of type ManagedOperation Modifier and Type Method Description voidWebModule. reload()voidJ2EEServer. restart()Restart the server.voidStateManageable. start()Starts the SMO.voidJ2EELogicalServer. startApp(String appID, Map<String,String> optional)Start the application on this Server.voidStateManageable. startRecursive()Starts the SMO.voidStateManageable. stop()Stops the SMO.voidJ2EELogicalServer. stopApp(String appID, Map<String,String> optional)Stop the application on this Server. -
Uses of ManagedOperation in org.glassfish.admin.amx.logging
Methods in org.glassfish.admin.amx.logging with annotations of type ManagedOperation Modifier and Type Method Description String[]LogQuery. getDiagnosticCauses(String messageID, String moduleName)String[]LogQuery. getDiagnosticChecks(String messageID, String moduleName)StringLogQuery. getDiagnosticURI(String messageID)Map<String,Integer>LogAnalyzer. getErrorDistribution(long timestamp, String level)Get the number of log entries for a particular timestamp of a particularLevelfor all modules.StringLogFileAccess. getLogFile(String key, String fileName)The entire specified log file is read, converted into a String, and returned.String[]LogFileAccess. getLogFileNames(String key)The names returned are not full paths but the simple file names of the log files.String[]LogAnalyzer. getLoggerNamesUnder(String loggerName)intLogRecordEmitter. getLogLevelListenerCount(Level logLevel)Get the number of listeners for the specified log level.StringLogging. getModuleLogLevel(String moduleName)Gets the log level of the Logger for the specified module, which may or may not be the same as that found in the configuration.List<Serializable[]>LogQuery. queryServerLog(String logFilename, long startIndex, boolean searchForward, int maxRecords, Long fromTime, Long toTime, String logLevel, Set<String> modules, List<Attribute> nameValuePairs, String anySearch)Query a server log file for records beginning at indexstartIndex.voidLogFileAccess. rotateAllLogFiles()Rotate all log files as soon as possible.voidLogFileAccess. rotateLogFile(String key)Rotate the log file of the specified type.voidLogging. setModuleLogLevel(String moduleName, String level)Sets the log level of the Logger for the specified module.voidLogging. testEmitLogMessage(String level, String message)This method may be used to verify that your Logging listener is working correctly.voidLogging. updateLoggingAttributes(Map<String,String> properties)Sets the value of one or more of the logging configuration properties .voidLogging. updateLoggingProperties(Map<String,String> properties)Sets the log level of the Logger for the specified module.
-