weblogic.management.configuration
Class JMSLegalHelper
java.lang.Object
|
+--weblogic.management.configuration.JMSLegalHelper
- public class JMSLegalHelper
- extends java.lang.Object
A Helper class to verify that configured JMS values are legal.
- Author:
- Copyright © 2001 BEA Systems, Inc. All Rights Reserved.
Method Summary
|
static boolean |
isUnowned(JMSServerMBean currentServer,
WebLogicObjectName newStoreObjectName)
A Helper method to verify that the new JMS store for
a JMS server is not in use by another JMS server. |
static boolean |
legalErrorDestination(JMSDestCommonMBean currentDest,
WebLogicObjectName errorDestObjectName)
A Helper method to verify that a proposed error destination
exists on the same JMS server as the destination it is
targeted on. |
static boolean |
legalOrder(java.lang.Object o,
WebLogicObjectName newKey)
A Helper method to verify the legal order of destination keys
configured for a destination. |
static boolean |
legalOrder(java.lang.Object o,
WebLogicObjectName[] newKeys)
A Helper method to verify the legal order of destination keys
configured for a destination. |
static boolean |
legalTimeToDeliverOverride(java.lang.Object value)
A Helper method to verify that a particular time-to-deliver
override is legal. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
JMSLegalHelper
public JMSLegalHelper()
legalOrder
public static boolean legalOrder(java.lang.Object o,
WebLogicObjectName[] newKeys)
throws javax.management.InvalidAttributeValueException
- A Helper method to verify the legal order of destination keys
configured for a destination. If JMSMessageID is one of the
keys, it has to be the last one. This method is called when
the keys are originally set.
legalOrder
public static boolean legalOrder(java.lang.Object o,
WebLogicObjectName newKey)
throws javax.management.InvalidAttributeValueException
- A Helper method to verify the legal order of destination keys
configured for a destination. If JMSMessageID is one of the
keys, it has to be the last one. This method is called when
a new key is added to the end.
isUnowned
public static boolean isUnowned(JMSServerMBean currentServer,
WebLogicObjectName newStoreObjectName)
throws javax.management.InvalidAttributeValueException
- A Helper method to verify that the new JMS store for
a JMS server is not in use by another JMS server. It
must be public to allow the BeanShell interpreter
to call it.
legalTimeToDeliverOverride
public static boolean legalTimeToDeliverOverride(java.lang.Object value)
throws javax.management.InvalidAttributeValueException
- A Helper method to verify that a particular time-to-deliver
override is legal. It may either by a long > -1 or
a string that represents a schedule.
legalErrorDestination
public static boolean legalErrorDestination(JMSDestCommonMBean currentDest,
WebLogicObjectName errorDestObjectName)
throws javax.management.InvalidAttributeValueException
- A Helper method to verify that a proposed error destination
exists on the same JMS server as the destination it is
targeted on.
WebLogic classes and methods that do not appear in this reference are not public and are not supported.