org.apache.sandesha2.policy
Class SandeshaPolicyBean
java.lang.Object
org.apache.sandesha2.policy.SandeshaPolicyBean
- All Implemented Interfaces:
- org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent
public class SandeshaPolicyBean
- extends java.lang.Object
- implements org.apache.neethi.Assertion
Used to hold peoperties loaded from sandesha2.properties file or
Sandesha2Constants.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SandeshaPolicyBean
public SandeshaPolicyBean()
setInactiveTimeoutInterval
public void setInactiveTimeoutInterval(long value,
java.lang.String measure)
setSequenceRemovalTimeoutInterval
public void setSequenceRemovalTimeoutInterval(long value,
java.lang.String measure)
setAcknowledgementInterval
public void setAcknowledgementInterval(long acknowledgementInterval)
getInMemoryStorageManagerClass
public java.lang.String getInMemoryStorageManagerClass()
setInMemoryStorageManagerClass
public void setInMemoryStorageManagerClass(java.lang.String inMemoryStorageManagerClass)
getPermanentStorageManagerClass
public java.lang.String getPermanentStorageManagerClass()
setPermanentStorageManagerClass
public void setPermanentStorageManagerClass(java.lang.String permanentStorageManagerClass)
isInOrder
public boolean isInOrder()
setInOrder
public void setInOrder(boolean inOrder)
getMsgTypesToDrop
public java.util.ArrayList<java.lang.Integer> getMsgTypesToDrop()
setMsgTypesToDrop
public void setMsgTypesToDrop(java.util.ArrayList<java.lang.Integer> msgTypesToDrop)
addMsgTypeToDrop
public void addMsgTypeToDrop(java.lang.Integer typeNo)
getMaximumRetransmissionCount
public int getMaximumRetransmissionCount()
throws SandeshaException
- Throws:
SandeshaException
setMaximumRetransmissionCount
public void setMaximumRetransmissionCount(int maximumRetransmissionCount)
getSecurityManagerClass
public java.lang.String getSecurityManagerClass()
setSecurityManagerClass
public void setSecurityManagerClass(java.lang.String className)
getEPRDecoratorClass
public java.lang.String getEPRDecoratorClass()
setEPRDecoratorClass
public void setEPRDecoratorClass(java.lang.String className)
getContextManagerClass
public java.lang.String getContextManagerClass()
setContextManagerClass
public void setContextManagerClass(java.lang.String className)
getName
public javax.xml.namespace.QName getName()
- Specified by:
getName
in interface org.apache.neethi.Assertion
isOptional
public boolean isOptional()
- Specified by:
isOptional
in interface org.apache.neethi.Assertion
normalize
public org.apache.neethi.PolicyComponent normalize()
- Specified by:
normalize
in interface org.apache.neethi.Assertion
serialize
public void serialize(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
- Specified by:
serialize
in interface org.apache.neethi.Assertion
- Specified by:
serialize
in interface org.apache.neethi.PolicyComponent
- Throws:
javax.xml.stream.XMLStreamException
getType
public short getType()
- Specified by:
getType
in interface org.apache.neethi.PolicyComponent
isExponentialBackoff
public boolean isExponentialBackoff()
throws SandeshaException
- Throws:
SandeshaException
setExponentialBackoff
public void setExponentialBackoff(boolean exponentialBackoff)
getRetransmissionInterval
public long getRetransmissionInterval()
throws SandeshaException
- Throws:
SandeshaException
setRetransmissionInterval
public void setRetransmissionInterval(long retransmissionInterval)
getAcknowledgementInterval
public long getAcknowledgementInterval()
throws SandeshaException
- Throws:
SandeshaException
getInactivityTimeoutInterval
public long getInactivityTimeoutInterval()
getSequenceRemovalTimeoutInterval
public long getSequenceRemovalTimeoutInterval()
setInactiveTimeoutValue
public void setInactiveTimeoutValue(long inactiveTimeoutValue)
setInactivityTimeoutMeasure
public void setInactivityTimeoutMeasure(java.lang.String inactivityTimeoutMeasure)
setSequenceRemovalTimeoutValue
public void setSequenceRemovalTimeoutValue(long sequenceRemovalTimeoutValue)
setSequenceRemovalTimeoutMeasure
public void setSequenceRemovalTimeoutMeasure(java.lang.String sequenceRemovalTimeoutMeasure)
isEnableMakeConnection
public boolean isEnableMakeConnection()
setEnableMakeConnection
public void setEnableMakeConnection(boolean enableMakeConnection)
isEnableRMAnonURI
public boolean isEnableRMAnonURI()
setEnableRMAnonURI
public void setEnableRMAnonURI(boolean enableRMAnonURI)
isUseMessageSerialization
public boolean isUseMessageSerialization()
throws SandeshaException
- Throws:
SandeshaException
setUseMessageSerialization
public void setUseMessageSerialization(boolean useMessageSerialization)
equal
public boolean equal(org.apache.neethi.PolicyComponent policyComponent)
- Specified by:
equal
in interface org.apache.neethi.PolicyComponent
isEnforceRM
public boolean isEnforceRM()
throws SandeshaException
- Throws:
SandeshaException
setEnforceRM
public void setEnforceRM(boolean enforceRM)
isAcknowledgementIntervalSet
protected boolean isAcknowledgementIntervalSet()
setAcknowledgementIntervalSet
protected void setAcknowledgementIntervalSet(boolean acknowledgementIntervalSet)
isEnableMakeConnectionSet
protected boolean isEnableMakeConnectionSet()
setEnableMakeConnectionSet
protected void setEnableMakeConnectionSet(boolean enableMakeConnectionSet)
isEnableRMAnonURISet
protected boolean isEnableRMAnonURISet()
setEnableRMAnonURISet
protected void setEnableRMAnonURISet(boolean enableRMAnonURISet)
isEnforceRMSet
protected boolean isEnforceRMSet()
setEnforceRMSet
protected void setEnforceRMSet(boolean enforceRMSet)
isExponentialBackoffSet
protected boolean isExponentialBackoffSet()
setExponentialBackoffSet
protected void setExponentialBackoffSet(boolean exponentialBackoffSet)
isInactiveTimeoutValueSet
protected boolean isInactiveTimeoutValueSet()
setInactiveTimeoutValueSet
protected void setInactiveTimeoutValueSet(boolean inactiveTimeoutValueSet)
setSequenceRemovalTimeoutValueSet
protected void setSequenceRemovalTimeoutValueSet(boolean sequenceRemovalTimeoutIntervalSet)
isSequenceRemovalTimeoutValueSet
protected boolean isSequenceRemovalTimeoutValueSet()
isInactivityTimeoutIntervalSet
protected boolean isInactivityTimeoutIntervalSet()
setInactivityTimeoutIntervalSet
protected void setInactivityTimeoutIntervalSet(boolean inactivityTimeoutIntervalSet)
isInOrderSet
protected boolean isInOrderSet()
setInOrderSet
protected void setInOrderSet(boolean inOrderSet)
isMaximumRetransmissionCountSet
protected boolean isMaximumRetransmissionCountSet()
setMaximumRetransmissionCountSet
protected void setMaximumRetransmissionCountSet(boolean maximumRetransmissionCountSet)
isRetransmissionIntervalSet
protected boolean isRetransmissionIntervalSet()
setRetransmissionIntervalSet
protected void setRetransmissionIntervalSet(boolean retransmissionIntervalSet)
isUseMessageSerializationSet
protected boolean isUseMessageSerializationSet()
setUseMessageSerializationSet
protected void setUseMessageSerializationSet(boolean useMessageSerializationSet)
getParent
public SandeshaPolicyBean getParent()
setParent
public void setParent(SandeshaPolicyBean parent)
isIgnorable
public boolean isIgnorable()
- Specified by:
isIgnorable
in interface org.apache.neethi.Assertion
Copyright © The Apache Software Foundation. All Rights Reserved.