- In your DLP project, choose a service.
- Choose a server or a dispatcher properties node.
- Manage the provider, security, runtime and service properties.
- In the Service Persistent Directoryfield set the path to a directory where all work files for the service to be stored.
- Save your changes.
Managing the Provider Properties
The Provider subtab has the same functionality as described in Editing Servers and Dispatchers of Libraries and Interfaces .
For the specific features of the services the following fields are also available:
- Application Frame - The class file that implements the application service frame. The application service frame is responsible for the service business logic.
- Runtime Frame - A full-specified java class that will be used for runtime editing in a visual administrative tool.
- Service Reference Type- Use it when you add a new reference and this is the type for the reference - Weak , Strong or Notify .
Managing the Security Properties
- Select the Security subtab.
-
The Methods field provides a list of all Public methods from class files in the service JAR file that inherit java.rmi.remote .
- To add a role to a method:
- Select that method in the Methods list.
- Select a role from the Available Rolesfield.
- Click the arrow button on the left-hand side. The role appears in the Selected Rolesfield.
Note
Each method can be assigned one role only.
- To remove a role from a method:
- Select the method in the Methods list.
- Select its role in the Selected Roleslist.
- Click on the button on the right-hand side. The role is removed from the list.
Managing the Runtime Properties
Runtime properties are key-value pairs. They are used by the service manager. To set a new property, you have to:
- Specify a new key in the Key field. Runtime property keys must be one of:
-
core-service
-
startup-mode
-
startup-state
- Specify a value for the specific runtime property.
For the core-service key, possible values are:
-
true
-
false - this is the default
For the startup-mode key, possible values are:
-
always - this is the default value
-
manual
-
automatic
For the startup-state key, possible values are
-
started - this is the default value
-
stopped
Note
If you do not set runtime properties, they will be set by default.
- Click the Addbutton.
To remove a property:
- Select the property from the list of available properties.
- Click the Remove button.
Managing the Service Properties
Managing service properties is the same as managing the runtime properties.