org.systinet.wasp.admin
Interface ServerPreferences


Deprecated. See ServerPreferences.

public interface ServerPreferences

This interface represents component which is able to set/get global preferences for WSO2 SOA Enablement Server. Preferences are representes in tagged form. You can use helpers which makes it easier to work with standard server preferences (security, transport, ...) in tagged form.

Since:
4.0
Component:
Mgmt-Services-Backward-Compatible

Field Summary
static TaggedValueTempl tvPREFERENCES
          Deprecated. Template for tagged value which contains server preferences.
static TaggedValueTempl tvPREFERENCES_TYPE
          Deprecated. Template for tagged value which contains type of server preferences.
static TaggedValueTempl tvRESULT_OK
          Deprecated. Template for tagged value which contains result status of the operation.
 
Method Summary
 TaggedStructure getServerPreferences(TaggedStructure what)
          Deprecated. Gets preferences of the server.
 TaggedStructure setServerPreferences(TaggedStructure prefs)
          Deprecated. Sets preferences on the server.
 

Field Detail

tvPREFERENCES_TYPE

public static final TaggedValueTempl tvPREFERENCES_TYPE
Deprecated. 
Template for tagged value which contains type of server preferences.


tvPREFERENCES

public static final TaggedValueTempl tvPREFERENCES
Deprecated. 
Template for tagged value which contains server preferences.


tvRESULT_OK

public static final TaggedValueTempl tvRESULT_OK
Deprecated. 
Template for tagged value which contains result status of the operation.

Method Detail

getServerPreferences

public TaggedStructure getServerPreferences(TaggedStructure what)
                                     throws AdminServiceException
Deprecated. 
Gets preferences of the server.

Parameters:
what - determines which preferences to get.
Returns:
preferences of the server.
Throws:
AdminServiceException - when it is impossible to get preferences.

setServerPreferences

public TaggedStructure setServerPreferences(TaggedStructure prefs)
                                     throws AdminServiceException
Deprecated. 
Sets preferences on the server.

Parameters:
prefs - preferences.
Returns:
status of the operation.
Throws:
AdminServiceException - when it is impossible to set preferences.