public abstract class BaseRouterHandler extends java.lang.Object implements RouterHandler
Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
endPointPropVals
The endpoint property values map.
|
protected java.lang.String |
epName |
protected java.util.Map |
metaData
the meta data for invocation.
|
BIDICONFIG, PASSWORD, USERNAME
Constructor and Description |
---|
BaseRouterHandler()
Default constructor to be used in case of
1> Getting the list of supported properties.
|
BaseRouterHandler(MaxEndPointInfo endPointInfo) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
getBooleanPropertyValue(java.lang.String propName) |
protected boolean |
getBooleanPropertyValue(java.lang.String propName,
boolean dflt) |
protected java.util.Date |
getDatePropertyValue(java.lang.String propName) |
protected double |
getDoublePropertyValue(java.lang.String propName) |
protected int |
getIntPropertyValue(java.lang.String propName) |
protected long |
getLongPropertyValue(java.lang.String propName) |
protected java.lang.String |
getOverrideValue(java.lang.String propName) |
protected java.lang.String |
getPropertyValue(java.lang.String propName) |
byte[] |
invoke(java.util.Map metaData,
byte[] data)
All directly extending classes should call super.invoke(metaData, data) before proceeding
with the invoke.
|
protected boolean |
isOverridden(java.lang.String propName) |
protected boolean |
isPropertyOverridable(java.lang.String propName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperties
protected java.util.Map endPointPropVals
protected java.lang.String epName
protected java.util.Map metaData
public BaseRouterHandler(MaxEndPointInfo endPointInfo)
endPointInfo
- the endpoint info object.public BaseRouterHandler()
public byte[] invoke(java.util.Map metaData, byte[] data) throws MXException
invoke
in interface RouterHandler
MXException
RouterHandler.invoke(java.util.Map, byte[])
protected boolean isPropertyOverridable(java.lang.String propName)
propName
- the name of the endpoint property.protected boolean isOverridden(java.lang.String propName)
propName
- the name of the endpoint property.protected java.lang.String getOverrideValue(java.lang.String propName)
propName
- the name of the endpoint property.protected java.lang.String getPropertyValue(java.lang.String propName)
propName
- the name of the endpoint property.protected boolean getBooleanPropertyValue(java.lang.String propName)
propName
- the name of the endpoint property.protected boolean getBooleanPropertyValue(java.lang.String propName, boolean dflt)
propName
- the name of the endpoint property.protected long getLongPropertyValue(java.lang.String propName)
propName
- the name of the endpoint property.protected int getIntPropertyValue(java.lang.String propName)
propName
- the name of the endpoint property.protected double getDoublePropertyValue(java.lang.String propName)
propName
- the name of the endpoint property.protected java.util.Date getDatePropertyValue(java.lang.String propName)
propName
- the name of the endpoint property.