|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mqe.MQe | +--com.ibm.mqe.MQeRule | +--com.ibm.mqe.MQeAttributeRule | +--com.ibm.mqe.MQeAttributeDefaultRule
This class contains methods that are invoked when the attribute performs certain operations. The rules can affect the outcome of these operations. This class contains the default attribute rules. Typically, these default rules would be overridden to provide appropriate behavior for a given WebSphere MQ Everyplace solution.
Field Summary |
Constructor Summary | |
MQeAttributeDefaultRule()
|
Method Summary | |
boolean |
isAcceptable(MQeAttribute to)
This rule checks if the input attribute is the same as this attribute. |
java.lang.Object |
permit(java.lang.Object owner,
java.lang.Object from,
java.lang.Object to)
process a Permit request. |
Methods inherited from class com.ibm.mqe.MQeAttributeRule |
getOwner, newRule |
Methods inherited from class com.ibm.mqe.MQeRule |
activate, close, newRule |
Methods inherited from class com.ibm.mqe.MQe |
abbreviate, alias, asciiToByte, byteToAscii, byteToHex, byteToHex, byteToInt, byteToLong, byteToShort, byteToUnicode, fileSeparator, getEventLogHandler, hexToAscii, hexToByte, intToByte, isCLDC, loadClass, loadObject, log, setEventLogHandler, setLoader, sliceByteArray, type, unicodeToByte, uniqueValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MQeAttributeDefaultRule()
Method Detail |
public boolean isAcceptable(MQeAttribute to)
This rule checks if the input attribute is the same as this attribute. It is called before the attribute
authenticator is to be replaced.
This rule
checks if the owner has the same
types of the authenticators, cryptors, and compressors as the of the input paramter. If so,
a true is returned. Otherwise, a false is returned.
isAcceptable
in class MQeAttributeRule
to
- an attribute to be used as a replacement.
public java.lang.Object permit(java.lang.Object owner, java.lang.Object from, java.lang.Object to) throws java.lang.Exception
process a Permit request. Always permit upgrade.
permit
in class MQeAttributeRule
owner
- from
- to
-
java.lang.Exception
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |