public class JmsHandlers extends Object
Constructor and Description |
---|
JmsHandlers() |
Modifier and Type | Method and Description |
---|---|
protected static void |
buildAttributeList(AttributeList list,
Map attrMap,
String type) |
static void |
createPhysicalDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler creates a physical destination.
|
static void |
deleteJMSDest(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) |
static void |
flushJMSDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler takes in selected rows, and removes selected config
|
static void |
getDefaultPhysicalDestinationValues(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler returns a map populated with the default values for a
destination.
|
static void |
getDestinations(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) |
protected static String |
getJmsDestinationObjectName(String objectType,
String name,
String destType) |
static void |
getPhysicalDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) |
static void |
getPhysicalDestinations(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) |
static void |
getPhysicalDestinationStats(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) |
protected static void |
insureJmsBrokerIsRunning() |
static boolean |
isSelected(String name,
List<Map> selectedList) |
static void |
pingJms(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) |
static void |
updatePhysicalDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler updates a physical destination.
|
protected static final String OBJECT_DEST_MGR
protected static final String OBJECT_DEST_BASE
protected static final String SUBTYPE_CONFIG
protected static final String SUBTYPE_MONITOR
protected static final String OP_LIST_DESTINATIONS
protected static final String OP_CREATE
protected static final String OP_DESTROY
protected static final String OP_PURGE
protected static final String ATTR_CONSUMER_FLOW_LIMIT
protected static final String ATTR_LIMIT_BEHAVIOR
protected static final String ATTR_LOCAL_DELIVERY_PREFERRED
protected static final String ATTR_MAX_BYTES_PER_MSG
protected static final String ATTR_MAX_NUM_ACTIVE_CONSUMERS
protected static final String ATTR_MAX_NUM_BACKUP_CONSUMERS
protected static final String ATTR_MAX_NUM_PRODUCERS
protected static final String ATTR_USE_DMQ
protected static final String ATTR_MAX_NUM_MSGS
protected static final String ATTR_MAX_TOTAL_MSG_BYTES
protected static final String ATTR_VALIDATE_XML_SCHEMA_ENABLED
protected static final String ATTR_XML_SCHEMA_URI_LIST
protected static final String ATTR_CREATED_BY_ADMIN
protected static final String ATTR_TEMPORARY
protected static final String ATTR_CONNECTION_ID
protected static final String ATTR_STATE
protected static final String ATTR_STATE_LABEL
protected static final String ATTR_NUM_PRODUCERS
protected static final String ATTR_NUM_CONSUMERS
protected static final String ATTR_NUM_WILDCARD_PRODUCERS
protected static final String ATTR_NUM_WILDCARD_CONSUMERS
protected static final String ATTR_NUM_WILDCARDS
protected static final String ATTR_PEAK_NUM_CONSUMERS
protected static final String ATTR_AVG_NUM_CONSUMERS
protected static final String ATTR_NUM_ACTIVE_CONSUMERS
protected static final String ATTR_PEAK_NUM_ACTIVE_CONSUMERS
protected static final String ATTR_AVG_NUM_ACTIVE_CONSUMERS
protected static final String ATTR_NUM_BACKUP_CONSUMERS
protected static final String ATTR_PEAK_NUM_BACKUP_CONSUMERS
protected static final String ATTR_AVG_NUM_BACKUP_CONSUMERS
protected static final String ATTR_NUM_MSGS
protected static final String ATTR_NUM_MSGS_REMOTE
protected static final String ATTR_NUM_MSGS_PENDING_ACKS
protected static final String ATTR_NUM_MSGS_HELD_IN_TRANSACTION
protected static final String ATTR_NEXT_MESSAGE_ID
protected static final String ATTR_PEAK_NUM_MSGS
protected static final String ATTR_AVG_NUM_MSGS
protected static final String ATTR_NUM_MSGS_IN
protected static final String ATTR_NUM_MSGS_OUT
protected static final String ATTR_MSG_BYTES_IN
protected static final String ATTR_MSG_BYTES_OUT
protected static final String ATTR_PEAK_MSG_BYTES
protected static final String ATTR_TOTAL_MSG_BYTES
protected static final String ATTR_TOTAL_MSG_BYTES_REMOTE
protected static final String ATTR_TOTAL_MSG_BYTES_HELD_IN_TRANSACTION
protected static final String ATTR_PEAK_TOTAL_MSG_BYTES
protected static final String ATTR_AVG_TOTAL_MSG_BYTES
protected static final String ATTR_DISK_RESERVED
protected static final String ATTR_DISK_USED
protected static final String ATTR_DISK_UTILIZATION_RATIO
protected static final String PROP_NAME
protected static final String PROP_DEST_TYPE
public static void getPhysicalDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
public static void getPhysicalDestinationStats(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
public static void getPhysicalDestinations(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
public static void createPhysicalDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler creates a physical destination.
context
- The HandlerContext.public static void updatePhysicalDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler updates a physical destination.
context
- The HandlerContext.public static void deleteJMSDest(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
public static void flushJMSDestination(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler takes in selected rows, and removes selected config
context
- The HandlerContext.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.context
- The HandlerContext.public static void pingJms(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
public static void getDestinations(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
protected static String getJmsDestinationObjectName(String objectType, String name, String destType)
protected static void buildAttributeList(AttributeList list, Map attrMap, String type)
protected static void insureJmsBrokerIsRunning() throws ConnectorRuntimeException
ConnectorRuntimeException
Copyright © 2021. All rights reserved.