| |
|
| java.lang.Object org.apache.wsif.util.WSIFProperties
WSIFProperties | public class WSIFProperties (Code) | | The WSIFProperties class contains various static methods to read
values from the wsif.properties file. Its main purpose is to prevent the
properties file from being read in from disk each time a property is checked.
author: Ant Elder |
Method Summary | |
public static long | getAsyncTimeout() Reads the async request timeout value from the wsif.properties file. | public static String | getProperty(String property) Reads a property from the wsif.properties file. | public static long | getSyncTimeout() Reads the synchronous request timeout from the wsif.properties file. |
getAsyncTimeout | public static long getAsyncTimeout()(Code) | | Reads the async request timeout value from the wsif.properties file. This
property defines how long WSIF will keep a WSIFOperation stored in the
correlation service waiting for the reply to a WSIFOperation
executeRequestResponseAsync method call.
the async request timeout value in milliseconds. If the propertyis invalid or not defined in the properties file then a value ofzero is returned. |
getProperty | public static String getProperty(String property)(Code) | | Reads a property from the wsif.properties file.
Parameters: property - the property to read the value of ther property or null if the property is not defined |
getSyncTimeout | public static long getSyncTimeout()(Code) | | Reads the synchronous request timeout from the wsif.properties file. This defines
how long (in milliseconds) WSIF will wait for a synchronous response.
Default of 0 means forever.
|
|
|
|