org.ws4d.java.configuration
Class FrameworkProperties

java.lang.Object
  extended by org.ws4d.java.configuration.FrameworkProperties
All Implemented Interfaces:
PropertiesHandler

public class FrameworkProperties
extends java.lang.Object
implements PropertiesHandler

Class of framework properties.


Field Summary
static java.lang.String PROP_BYPASS_WSDL_REPOSITORY
           
static java.lang.String PROP_KILL_ON_SHUTDOWN_HOOK
          Property id to specify the size of the ThreadPool.
static java.lang.String PROP_MAX_DGRAM_SIZE
          Property id to specify the size of the ThreadPool.
static java.lang.String PROP_PROXY_SERVICE_FACTORY_CLASS
           
static java.lang.String PROP_SERVREF_FACTRORY_CLASS
          Property id to specify the service reference factory class name.
static java.lang.String PROP_THREADPOOL_SIZE
          Property id to specify the size of the ThreadPool.
static java.lang.String PROP_WSDL_SUPPORT_FACTORY_CLASS
          Qualified name of the WSDL support factory class to use when creating WSDL parsers and serializers.
static boolean REFERENCE_PARAM_MODE
           
 
Fields inherited from interface org.ws4d.java.configuration.PropertiesHandler
FALSE, TRUE
 
Method Summary
 void finishedSection(int depth)
          This method indicates the PropertiesHandler, that the last section with the given depth has been read completely.
static FrameworkProperties getInstance()
          Return instance of device properties.
 boolean getKillOnShutdownHook()
           
 int getMaxDatagramSize()
          get the maximum UDP datagram size.
 java.lang.String getProxyServiceFactroryClass()
           
 java.lang.String getServiceReferenceFactoryClass()
          Get the class name of the service reference factory class.
 int getThreadPoolSize()
          Get the size of the common thread pool.
 java.lang.String getWsdlSupportFactoryClass()
           
 boolean isBypassWsdlRepository()
           
 void setBypassWsdlRepository(boolean bypassWsdlRepository)
           
 void setKillOnShutdownHook(boolean b)
           
 void setMaxDatagramSize(int maxDatagramSize)
           
 void setProperties(PropertyHeader header, Property property)
           
 void setProxyServiceFactoryClass(java.lang.String className)
           
 void setServiceReferenceFactoryClass(java.lang.String className)
           
 void setThreadPoolSize(int size)
           
 void setWsdlSupportFactoryClass(java.lang.String wsdlSupportFactoryClass)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_WSDL_SUPPORT_FACTORY_CLASS

public static final java.lang.String PROP_WSDL_SUPPORT_FACTORY_CLASS
Qualified name of the WSDL support factory class to use when creating WSDL parsers and serializers.
Type: String
Default: none (using internal default factory)

See Also:
Constant Field Values

PROP_PROXY_SERVICE_FACTORY_CLASS

public static final java.lang.String PROP_PROXY_SERVICE_FACTORY_CLASS
See Also:
Constant Field Values

PROP_SERVREF_FACTRORY_CLASS

public static final java.lang.String PROP_SERVREF_FACTRORY_CLASS
Property id to specify the service reference factory class name.

See Also:
Constant Field Values

PROP_KILL_ON_SHUTDOWN_HOOK

public static final java.lang.String PROP_KILL_ON_SHUTDOWN_HOOK
Property id to specify the size of the ThreadPool.

See Also:
Constant Field Values

PROP_THREADPOOL_SIZE

public static final java.lang.String PROP_THREADPOOL_SIZE
Property id to specify the size of the ThreadPool.

See Also:
Constant Field Values

PROP_MAX_DGRAM_SIZE

public static final java.lang.String PROP_MAX_DGRAM_SIZE
Property id to specify the size of the ThreadPool.

See Also:
Constant Field Values

PROP_BYPASS_WSDL_REPOSITORY

public static final java.lang.String PROP_BYPASS_WSDL_REPOSITORY
See Also:
Constant Field Values

REFERENCE_PARAM_MODE

public static boolean REFERENCE_PARAM_MODE
Method Detail

getInstance

public static FrameworkProperties getInstance()
Return instance of device properties.

Returns:
the singleton instance of the framework properties

setProperties

public void setProperties(PropertyHeader header,
                          Property property)
Specified by:
setProperties in interface PropertiesHandler
Parameters:
header - header of section
property - property within section

finishedSection

public void finishedSection(int depth)
Description copied from interface: PropertiesHandler
This method indicates the PropertiesHandler, that the last section with the given depth has been read completely.

Specified by:
finishedSection in interface PropertiesHandler
Parameters:
depth - depth of section.

getWsdlSupportFactoryClass

public java.lang.String getWsdlSupportFactoryClass()
Returns:
the wsdlSupportFactoryClass

getProxyServiceFactroryClass

public java.lang.String getProxyServiceFactroryClass()
Returns:
class name of proxy service

getServiceReferenceFactoryClass

public java.lang.String getServiceReferenceFactoryClass()
Get the class name of the service reference factory class.

Returns:
class name of the service reference factory class.

getKillOnShutdownHook

public boolean getKillOnShutdownHook()

getThreadPoolSize

public int getThreadPoolSize()
Get the size of the common thread pool.

Returns:
Size of the common thread pool.

getMaxDatagramSize

public int getMaxDatagramSize()
get the maximum UDP datagram size.

Returns:
the maximum UDP datagram size the framework expects

isBypassWsdlRepository

public boolean isBypassWsdlRepository()
Returns:
whether the WSDL repository should be bypassed during proxy service creation

setBypassWsdlRepository

public void setBypassWsdlRepository(boolean bypassWsdlRepository)
Parameters:
bypassWsdlRepository - whether to bypass the WSDL repository during proxy service creation or not

setProxyServiceFactoryClass

public void setProxyServiceFactoryClass(java.lang.String className)

setServiceReferenceFactoryClass

public void setServiceReferenceFactoryClass(java.lang.String className)

setKillOnShutdownHook

public void setKillOnShutdownHook(boolean b)

setThreadPoolSize

public void setThreadPoolSize(int size)

setMaxDatagramSize

public void setMaxDatagramSize(int maxDatagramSize)

setWsdlSupportFactoryClass

public void setWsdlSupportFactoryClass(java.lang.String wsdlSupportFactoryClass)
Parameters:
wsdlSupportFactoryClass - the wsdlSupportFactoryClass to set