| org.apache.turbine.services.Service
All known Subclasses: org.apache.turbine.services.BaseUnicastRemoteService, org.apache.turbine.services.BaseService,
Method Summary | |
Configuration | getConfiguration() Returns the Configuration of this Service. | String | getName() Returns the name of this Service. | Properties | getProperties() Returns the Properties of this Service. | void | setName(String name) ServiceBroker uses this method to pass a Service its name. | void | setServiceBroker(ServiceBroker broker) Provides a Service with a reference to the ServiceBroker that
instantiated this object, so that it can ask for its properties
and access other Services. |
SERVICE_NAME | String SERVICE_NAME(Code) | | The name of this service.
|
getConfiguration | Configuration getConfiguration()(Code) | | Returns the Configuration of this Service. Every Service has at
least one property, which is "classname", containing the name
of the class implementing this service. Note that the service
may chose to alter its configuration, therefore they may be
different from those returned by ServiceBroker.
The Configuration of this Service. |
getName | String getName()(Code) | | Returns the name of this Service.
The name of this Service. |
getProperties | Properties getProperties()(Code) | | Returns the Properties of this Service. Every Service has at
least one property, which is "classname", containing the name
of the class implementing this service. Note that the service
may chose to alter its properties, therefore they may be
different from those returned by ServiceBroker.
The properties of this Service. |
setName | void setName(String name)(Code) | | ServiceBroker uses this method to pass a Service its name.
Service uses its name to ask the broker for an apropriate set
of Properties.
Parameters: name - The name of this Service. |
setServiceBroker | void setServiceBroker(ServiceBroker broker)(Code) | | Provides a Service with a reference to the ServiceBroker that
instantiated this object, so that it can ask for its properties
and access other Services.
Parameters: broker - The ServiceBroker that instantiated this object. |
|
|