|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.binding.soap.util.SUPropertiesHelper
public class SUPropertiesHelper
Helper for Service Unit properties values
| Constructor Summary | |
|---|---|
protected |
SUPropertiesHelper()
Creates a new instance if SUPropertiesHelper |
| Method Summary | |
|---|---|
protected static boolean |
checkPresent(java.lang.String parameterName,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Check if the given parameter is present |
static java.lang.String |
getAddress(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the address parameter value |
protected static boolean |
getBoolean(java.lang.String parameterName,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the boolean value of the parameter |
protected static boolean |
getBoolean(java.lang.String parameterName,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions,
boolean defaultValue)
|
protected static long |
getLong(java.lang.String parameterName,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the parameter value as long or return -1L if not found |
static java.lang.String |
getMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the mode. |
static java.lang.String |
getServiceName(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the service name. |
protected static java.lang.String |
getString(java.lang.String parameterName,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the parameter value or return null if not found |
protected static java.lang.String |
getString(java.lang.String parameterName,
java.lang.String defaultValue,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
|
static java.lang.String |
getTopicName(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Retrieve the topic name |
static java.lang.String |
getWSAFaultTo(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
|
static java.lang.String |
getWSAFrom(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
|
static java.lang.String |
getWSAReplyTo(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
|
static java.lang.String |
getWSATo(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
|
static boolean |
isHttpTransportEnable(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the flag enabling the HTTP transport layer. |
static boolean |
isJmsTransportEnable(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the flag enabling the JMS transport layer. |
static boolean |
isPolicyEnabled(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
The policy is enabled if the policy path has been defined |
static boolean |
isRESTMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
The mode is REST ? |
static boolean |
isServiceMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Returns true if the mode is service compatible : SOAP, REST or JSON |
static boolean |
isSOAPMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
The mode is SOAP ? |
static boolean |
isTopicMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
The mode is TOPIC ? |
static boolean |
isWSAEnabled(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Use the WSA fields from the exchange |
static java.util.List<java.lang.String> |
retrieveHeaderList(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
|
static boolean |
retrieveInjectHeader(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
We inject the headers by default |
static boolean |
retrieveRemoveRootElement(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Retrieve the remove root element extension value |
static java.lang.String |
retrieveRESTAddNSPrefixOnRequest(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the prefix to be used |
static java.lang.String |
retrieveRESTAddNSURIOnRequest(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the URI which has to be added to the message payload |
static java.util.List<java.lang.String> |
retrieveRESTRemovePrefixOnResponse(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get all the prefix which has to be removed on REST response. |
static long |
retrieveTimeout(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Retrieve the timeout extensions value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SUPropertiesHelper()
SUPropertiesHelper
| Method Detail |
|---|
public static final long retrieveTimeout(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static final boolean retrieveRemoveRootElement(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static java.lang.String retrieveRESTAddNSURIOnRequest(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
props -
public static java.lang.String retrieveRESTAddNSPrefixOnRequest(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
props -
public static java.util.List<java.lang.String> retrieveRESTRemovePrefixOnResponse(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
props -
public static java.util.List<java.lang.String> retrieveHeaderList(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static boolean retrieveInjectHeader(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static java.lang.String getMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static java.lang.String getServiceName(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static java.lang.String getTopicName(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static boolean isPolicyEnabled(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static java.lang.String getWSATo(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
public static java.lang.String getAddress(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static java.lang.String getWSAFrom(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static java.lang.String getWSAReplyTo(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static java.lang.String getWSAFaultTo(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static boolean isWSAEnabled(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
protected static final boolean checkPresent(java.lang.String parameterName,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
parameterName - extensions -
public static final boolean isSOAPMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static final boolean isRESTMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static final boolean isServiceMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static final boolean isTopicMode(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static boolean isHttpTransportEnable(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
public static boolean isJmsTransportEnable(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
extensions -
protected static final boolean getBoolean(java.lang.String parameterName,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
parameterName - extensions -
protected static final boolean getBoolean(java.lang.String parameterName,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions,
boolean defaultValue)
protected static final java.lang.String getString(java.lang.String parameterName,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
parameterName - extensions -
protected static final java.lang.String getString(java.lang.String parameterName,
java.lang.String defaultValue,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
parameterName - defaultValue - extensions -
protected static final long getLong(java.lang.String parameterName,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
parameterName - extensions -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||