|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.listeners.ListenerUtil
public class ListenerUtil
Method Summary | |
---|---|
static EPR |
assembleEpr(ConfigTree tree)
|
static FileEpr |
fileEprFromElement(ConfigTree tree)
|
static java.lang.String |
getAttrAndWarn(ConfigTree tree,
java.lang.String tag,
java.lang.String defaultValue)
|
static long |
getMaxMillisGatewayWait(ConfigTree tree,
org.apache.log4j.Logger logr)
|
static java.lang.String |
getValue(ConfigTree p_oP,
java.lang.String p_sAtt)
Default value of null. |
static java.lang.String |
getValue(ConfigTree p_oP,
java.lang.String p_sAtt,
java.lang.String p_sDefault)
Find an attribute in the tree (arg 0) or assign default value (arg 2) If no such value exists then the default value will be returned, no matter what the value. |
static InVMEpr |
inVMEprFromElement(ConfigTree tree)
|
static JDBCEpr |
jdbcEprFromElement(ConfigTree tree)
|
static JMSEpr |
jmsEprFromElement(ConfigTree tree)
|
static java.lang.String |
obtainAtt(ConfigTree p_oP,
java.lang.String p_sAtt,
java.lang.String p_sDefault)
Deprecated. DO NOT USE. Use ListenerUtil#getValue() instead. |
static void |
tryToDeliver(Message message,
java.lang.String category,
java.lang.String name)
Deprecated. DO NOT USE. Use ServiceInvoker.deliverAsync(org.jboss.soa.esb.message.Message) instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void tryToDeliver(Message message, java.lang.String category, java.lang.String name) throws MessageDeliverException, javax.jms.JMSException, RegistryException
ServiceInvoker.deliverAsync(org.jboss.soa.esb.message.Message)
instead.
message
- category
- name
-
MessageDeliverException
RegistryException
javax.jms.JMSException
public static EPR assembleEpr(ConfigTree tree) throws ConfigurationException
ConfigurationException
public static InVMEpr inVMEprFromElement(ConfigTree tree) throws ConfigurationException
ConfigurationException
public static JMSEpr jmsEprFromElement(ConfigTree tree) throws ConfigurationException
ConfigurationException
public static FileEpr fileEprFromElement(ConfigTree tree) throws ConfigurationException
ConfigurationException
public static JDBCEpr jdbcEprFromElement(ConfigTree tree) throws ConfigurationException
ConfigurationException
public static java.lang.String getAttrAndWarn(ConfigTree tree, java.lang.String tag, java.lang.String defaultValue) throws ConfigurationException
ConfigurationException
public static java.lang.String getValue(ConfigTree p_oP, java.lang.String p_sAtt, java.lang.String p_sDefault)
p_oP
- ConfigTree - look for attributes in this Element onlyp_sAtt
- String - Name of attribute to findp_sDefault
- String -default value if requested attribute is not there
public static java.lang.String getValue(ConfigTree p_oP, java.lang.String p_sAtt)
p_oP
- p_sAtt
-
public static java.lang.String obtainAtt(ConfigTree p_oP, java.lang.String p_sAtt, java.lang.String p_sDefault) throws ConfigurationException
ListenerUtil#getValue()
instead.
p_oP
- ConfigTree - look for attributes in this Element onlyp_sAtt
- String - Name of attribute to findp_sDefault
- String -default value if requested attribute is not there
ConfigurationException
- -
If requested attribute not found and no default value
supplied by invokerpublic static long getMaxMillisGatewayWait(ConfigTree tree, org.apache.log4j.Logger logr) throws ConfigurationException
ConfigurationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |