Class JmsHandlers
java.lang.Object
org.glassfish.admingui.plugin.jms.JmsHandlers
- Author:
- jasonlee
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidbuildAttributeList(AttributeList list, Map attrMap, String type) static voidcreatePhysicalDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler creates a physical destination.static voiddeleteJMSDest(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) static voidflushJMSDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler takes in selected rows, and removes selected configstatic voidgetDefaultPhysicalDestinationValues(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler returns a map populated with the default values for a destination.static voidgetDestinations(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) protected static StringgetJmsDestinationObjectName(String objectType, String name, String destType) static voidgetPhysicalDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) static voidgetPhysicalDestinations(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) static voidgetPhysicalDestinationStats(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) protected static voidstatic booleanisSelected(String name, List<Map> selectedList) static voidpingJms(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) static voidupdatePhysicalDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler updates a physical destination.
-
Field Details
-
OBJECT_DEST_MGR
- See Also:
-
OBJECT_DEST_BASE
- See Also:
-
SUBTYPE_CONFIG
- See Also:
-
SUBTYPE_MONITOR
- See Also:
-
OP_LIST_DESTINATIONS
- See Also:
-
OP_CREATE
- See Also:
-
OP_DESTROY
- See Also:
-
OP_PURGE
- See Also:
-
ATTR_CONSUMER_FLOW_LIMIT
- See Also:
-
ATTR_LIMIT_BEHAVIOR
- See Also:
-
ATTR_LOCAL_DELIVERY_PREFERRED
- See Also:
-
ATTR_MAX_BYTES_PER_MSG
- See Also:
-
ATTR_MAX_NUM_ACTIVE_CONSUMERS
- See Also:
-
ATTR_MAX_NUM_BACKUP_CONSUMERS
- See Also:
-
ATTR_MAX_NUM_PRODUCERS
- See Also:
-
ATTR_USE_DMQ
- See Also:
-
ATTR_MAX_NUM_MSGS
- See Also:
-
ATTR_MAX_TOTAL_MSG_BYTES
- See Also:
-
ATTR_VALIDATE_XML_SCHEMA_ENABLED
- See Also:
-
ATTR_XML_SCHEMA_URI_LIST
- See Also:
-
ATTR_CREATED_BY_ADMIN
- See Also:
-
ATTR_TEMPORARY
- See Also:
-
ATTR_CONNECTION_ID
- See Also:
-
ATTR_STATE
- See Also:
-
ATTR_STATE_LABEL
- See Also:
-
ATTR_NUM_PRODUCERS
- See Also:
-
ATTR_NUM_CONSUMERS
- See Also:
-
ATTR_NUM_WILDCARD_PRODUCERS
- See Also:
-
ATTR_NUM_WILDCARD_CONSUMERS
- See Also:
-
ATTR_NUM_WILDCARDS
- See Also:
-
ATTR_PEAK_NUM_CONSUMERS
- See Also:
-
ATTR_AVG_NUM_CONSUMERS
- See Also:
-
ATTR_NUM_ACTIVE_CONSUMERS
- See Also:
-
ATTR_PEAK_NUM_ACTIVE_CONSUMERS
- See Also:
-
ATTR_AVG_NUM_ACTIVE_CONSUMERS
- See Also:
-
ATTR_NUM_BACKUP_CONSUMERS
- See Also:
-
ATTR_PEAK_NUM_BACKUP_CONSUMERS
- See Also:
-
ATTR_AVG_NUM_BACKUP_CONSUMERS
- See Also:
-
ATTR_NUM_MSGS
- See Also:
-
ATTR_NUM_MSGS_REMOTE
- See Also:
-
ATTR_NUM_MSGS_PENDING_ACKS
- See Also:
-
ATTR_NUM_MSGS_HELD_IN_TRANSACTION
- See Also:
-
ATTR_NEXT_MESSAGE_ID
- See Also:
-
ATTR_PEAK_NUM_MSGS
- See Also:
-
ATTR_AVG_NUM_MSGS
- See Also:
-
ATTR_NUM_MSGS_IN
- See Also:
-
ATTR_NUM_MSGS_OUT
- See Also:
-
ATTR_MSG_BYTES_IN
- See Also:
-
ATTR_MSG_BYTES_OUT
- See Also:
-
ATTR_PEAK_MSG_BYTES
- See Also:
-
ATTR_TOTAL_MSG_BYTES
- See Also:
-
ATTR_TOTAL_MSG_BYTES_REMOTE
- See Also:
-
ATTR_TOTAL_MSG_BYTES_HELD_IN_TRANSACTION
- See Also:
-
ATTR_PEAK_TOTAL_MSG_BYTES
- See Also:
-
ATTR_AVG_TOTAL_MSG_BYTES
- See Also:
-
ATTR_DISK_RESERVED
- See Also:
-
ATTR_DISK_USED
- See Also:
-
ATTR_DISK_UTILIZATION_RATIO
- See Also:
-
PROP_NAME
- See Also:
-
PROP_DEST_TYPE
- See Also:
-
-
Constructor Details
-
JmsHandlers
public JmsHandlers()
-
-
Method Details
-
getPhysicalDestination
public static void getPhysicalDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) -
getPhysicalDestinationStats
public static void getPhysicalDestinationStats(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) -
getPhysicalDestinations
public static void getPhysicalDestinations(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) -
createPhysicalDestination
public static void createPhysicalDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler creates a physical destination.
- Parameters:
context- The HandlerContext.
-
updatePhysicalDestination
public static void updatePhysicalDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler updates a physical destination.
- Parameters:
context- The HandlerContext.
-
deleteJMSDest
public static void deleteJMSDest(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) -
flushJMSDestination
public static void flushJMSDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler takes in selected rows, and removes selected config
- Parameters:
context- The HandlerContext.
-
getDefaultPhysicalDestinationValues
public static void getDefaultPhysicalDestinationValues(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler returns a map populated with the default values for a destination. Currently, this is all hard-coded, based on data from the MQ documentation. When/if they expose an API for determining this programmatically, the implementation will be updated.
If an orig map is passed in, the default value will be set to this orig map instead of creating a new one. This is used for restoring back to the default value during edit.- Parameters:
context- The HandlerContext.
-
pingJms
public static void pingJms(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) -
getDestinations
public static void getDestinations(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) -
isSelected
-
getJmsDestinationObjectName
-
buildAttributeList
-
insureJmsBrokerIsRunning
protected static void insureJmsBrokerIsRunning() throws com.sun.appserv.connectors.internal.api.ConnectorRuntimeException- Throws:
com.sun.appserv.connectors.internal.api.ConnectorRuntimeException
-