org.apache.sandesha2.policy
Class SandeshaPolicyBean

java.lang.Object
  extended byorg.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.


Constructor Summary
SandeshaPolicyBean()
           
 
Method Summary
 void addMsgTypeToDrop(java.lang.Integer typeNo)
           
 boolean equal(org.apache.neethi.PolicyComponent policyComponent)
           
 long getAcknowledgementInterval()
           
 long getInactivityTimeoutInterval()
           
 java.lang.String getInMemoryStorageManagerClass()
           
 int getMaximumRetransmissionCount()
           
 java.util.ArrayList getMsgTypesToDrop()
           
 javax.xml.namespace.QName getName()
           
 java.lang.String getPermanentStorageManagerClass()
           
 long getRetransmissionInterval()
           
 java.lang.String getSecurityManagerClass()
           
 short getType()
           
 boolean isExponentialBackoff()
           
 boolean isInOrder()
           
 boolean isOptional()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setAcknowledgementInterval(long acknowledgementInterval)
           
 void setExponentialBackoff(boolean exponentialBackoff)
           
 void setInactiveTimeoutInterval(long value, java.lang.String measure)
           
 void setInactiveTimeoutValue(long inactiveTimeoutValue)
           
 void setInactivityTimeoutMeasure(java.lang.String inactivityTimeoutMeasure)
           
 void setInMemoryStorageManagerClass(java.lang.String inMemoryStorageManagerClass)
           
 void setInOrder(boolean inOrder)
           
 void setMaximumRetransmissionCount(int maximumRetransmissionCount)
           
 void setMsgTypesToDrop(java.util.ArrayList msgTypesToDrop)
           
 void setPermanentStorageManagerClass(java.lang.String permanentStorageManagerClass)
           
 void setRetransmissionInterval(long retransmissionInterval)
           
 void setSecurityManagerClass(java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SandeshaPolicyBean

public SandeshaPolicyBean()
Method Detail

setInactiveTimeoutInterval

public void setInactiveTimeoutInterval(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 getMsgTypesToDrop()

setMsgTypesToDrop

public void setMsgTypesToDrop(java.util.ArrayList msgTypesToDrop)

addMsgTypeToDrop

public void addMsgTypeToDrop(java.lang.Integer typeNo)

getMaximumRetransmissionCount

public int getMaximumRetransmissionCount()

setMaximumRetransmissionCount

public void setMaximumRetransmissionCount(int maximumRetransmissionCount)

getSecurityManagerClass

public java.lang.String getSecurityManagerClass()

setSecurityManagerClass

public void setSecurityManagerClass(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
Throws:
javax.xml.stream.XMLStreamException

getType

public short getType()
Specified by:
getType in interface org.apache.neethi.PolicyComponent

isExponentialBackoff

public boolean isExponentialBackoff()

setExponentialBackoff

public void setExponentialBackoff(boolean exponentialBackoff)

getRetransmissionInterval

public long getRetransmissionInterval()

setRetransmissionInterval

public void setRetransmissionInterval(long retransmissionInterval)

getAcknowledgementInterval

public long getAcknowledgementInterval()

getInactivityTimeoutInterval

public long getInactivityTimeoutInterval()

setInactiveTimeoutValue

public void setInactiveTimeoutValue(long inactiveTimeoutValue)

setInactivityTimeoutMeasure

public void setInactivityTimeoutMeasure(java.lang.String inactivityTimeoutMeasure)

equal

public boolean equal(org.apache.neethi.PolicyComponent policyComponent)
Specified by:
equal in interface org.apache.neethi.PolicyComponent


Copyright © 2005-2006 Apache Web Services. All Rights Reserved.