org.ws4d.java.configuration
Class ServiceProperties

java.lang.Object
  extended by org.ws4d.java.configuration.ServiceProperties

public class ServiceProperties
extends java.lang.Object

Class of service properties. Sets and holds service properties.


Field Summary
static java.lang.Integer DEFAULT_CONFIGURATION_ID
           
static java.lang.String PROP_BINDING
           
static java.lang.String PROP_CONFIGURATION_ID
           
static java.lang.String PROP_SEC_PRIVATEKEY_ALIAS
           
static java.lang.String PROP_SEC_PRIVATEKEY_PASS
           
static java.lang.String PROP_SERVICE_ID
           
static java.lang.String PROP_SERVICE_SECURED
          Whether the service should be secured or not (not implemented)
 
Method Summary
 List getBindings()
          Gets service bindings.
 java.lang.Integer getConfigurationId()
          Gets configuration id.
 java.lang.String getPrivateKeyAlias()
           
 java.lang.String getPrivateKeyPass()
           
 URI getServiceId()
           
 boolean isServiceSecured()
          Is the service secured?
 void setConfigurationId(java.lang.Integer configurationId)
          Sets configuration id.
 void setServiceSecured(boolean serviceSecured)
          Configures service transport security.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_CONFIGURATION_ID

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

PROP_SERVICE_SECURED

public static final java.lang.String PROP_SERVICE_SECURED
Whether the service should be secured or not (not implemented)

See Also:
Constant Field Values

PROP_SEC_PRIVATEKEY_ALIAS

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

PROP_SEC_PRIVATEKEY_PASS

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

PROP_SERVICE_ID

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

PROP_BINDING

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

DEFAULT_CONFIGURATION_ID

public static final java.lang.Integer DEFAULT_CONFIGURATION_ID
Method Detail

getConfigurationId

public java.lang.Integer getConfigurationId()
Gets configuration id.

Returns:
Configuration id.

setConfigurationId

public void setConfigurationId(java.lang.Integer configurationId)
Sets configuration id.

Parameters:
configurationId - Configuration to set.

isServiceSecured

public boolean isServiceSecured()
Is the service secured?

Returns:
whther the service shell be secured or not

setServiceSecured

public void setServiceSecured(boolean serviceSecured)
Configures service transport security.

Parameters:
serviceSecured -

getBindings

public List getBindings()
Gets service bindings.

Returns:
list of service bindings

getServiceId

public URI getServiceId()
Returns:
service id as uri.

getPrivateKeyAlias

public java.lang.String getPrivateKeyAlias()

getPrivateKeyPass

public java.lang.String getPrivateKeyPass()