- All Known Implementing Classes:
- RMIService
- public interface Service
setServiceContext
public void setServiceContext(ServiceContext context)
- Calls before the service is initialized (before initData is called) to
pass information about the environment in which the service is running.
This environment consists of information about the properties set for the
service in one of these files (services.config, roletype_services.config,
or *.ctl), plus methods to access other information such as an instance
of the service broker to invoke other services, the transaction id for
the service, file separator character and local path for the installation
directory and configuration directory.
initData
public void initData(com.flexstor.common.data.ActionData data)
- A data initialization method called at the beginning of the service.
Not business logic, relevant to the functionality of the service, should be
added here, other than initializing some variables, etc.
go
public com.flexstor.common.data.ActionResult go()
- This methods carries the load of the business logic for the service.