|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsil.util.WSILProperties
public final class WSILProperties
The WS-Inspection properties can be defined in one of three locations. 1. The wsil.properties file which can be located anywhere in the classpath. 2. The system property settings. 3. The thread local property settings. The properties are set based on this ordering. For example, the properties from the wsil.properties file will be replaced by properties from the system property settings, which will be replaced by the thread local property settings. The properties that are used to define the implementation classes can be specified as system properties or as properties that are set in a thread local variable. System properties should be used if only one implementation is needed per JVM. If two or more implementations are needed per JVM, then the properties should be set using the thread local variable.
Field Summary | |
---|---|
protected static java.lang.String |
DEF_DOCUMENT_FACTORY
Default WSILDocumentFactory class name. |
protected static java.lang.String |
PROP_DOCUMENT_FACTORY
Property that contains WSILDocumentFactory class name. |
protected static java.lang.String |
PROP_FILENAME
Property file name. |
static java.lang.String |
PROP_TRANSPORT_CLASS
|
static java.lang.String |
PROP_WSIL_DOCUMENT_NAME
|
static java.lang.String |
PROP_WSIL_HOSTNAME
|
static java.lang.String |
PROP_WSIL_PORT
|
protected static java.util.Properties |
props
Properties object. |
static java.lang.String |
TRANSPORT_CLASS
Tranport class. |
static java.lang.String |
WSDL_EXTENSION
WSDL extension. |
static java.lang.String |
WSIL_DOCUMENT_NAME
WSIL inspection document name. |
static java.lang.String |
WSIL_HOSTNAME
WSIL hostname. |
static java.lang.String |
WSIL_PORT
WSIL port. |
Method Summary | |
---|---|
static java.lang.String |
getDocumentFactory()
Get the WSIL document factory class name. |
static java.util.Properties |
getProperties()
Get properties that were set for this thread only. |
static void |
loadProperties()
|
static void |
main(java.lang.String[] args)
This method is used to unit test this class. |
static void |
setProperties(java.util.Properties props)
Set properties for this thread only. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.util.Properties props
protected static final java.lang.String DEF_DOCUMENT_FACTORY
protected static final java.lang.String PROP_DOCUMENT_FACTORY
protected static final java.lang.String PROP_FILENAME
public static final java.lang.String WSDL_EXTENSION
public static java.lang.String TRANSPORT_CLASS
public static final java.lang.String PROP_TRANSPORT_CLASS
public static java.lang.String WSIL_HOSTNAME
public static final java.lang.String PROP_WSIL_HOSTNAME
public static java.lang.String WSIL_PORT
public static final java.lang.String PROP_WSIL_PORT
public static java.lang.String WSIL_DOCUMENT_NAME
public static final java.lang.String PROP_WSIL_DOCUMENT_NAME
Method Detail |
---|
public static void loadProperties()
public static java.util.Properties getProperties()
public static void setProperties(java.util.Properties props)
public static java.lang.String getDocumentFactory()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |