|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.rmi.server.RemoteObject java.rmi.server.RemoteServer java.rmi.server.UnicastRemoteObject org.apache.turbine.services.BaseUnicastRemoteService
A base implementation of an UnicastRemoteObject
as a Turbine Service
.
Field Summary | |
protected org.apache.commons.configuration.Configuration |
configuration
|
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Fields inherited from interface org.apache.turbine.services.Service |
SERVICE_NAME |
Constructor Summary | |
BaseUnicastRemoteService()
|
Method Summary | |
org.apache.commons.configuration.Configuration |
getConfiguration()
Returns the configuration of this service. |
boolean |
getInit()
Returns initialization status of an Initable. |
InitableBroker |
getInitableBroker()
|
java.lang.String |
getName()
Returns the name of this Service. |
java.util.Properties |
getProperties()
Returns the Properties of this Service. |
ServiceBroker |
getServiceBroker()
|
void |
init()
Performs late initialization of an Initable. |
void |
init(java.lang.Object data)
Performs early initailization of an Initable During the startup of the system, different objects may be passed to your class using this method. |
void |
init(javax.servlet.ServletConfig config)
|
protected void |
setInit(boolean value)
|
void |
setInitableBroker(InitableBroker broker)
Provides an Initable with a reference to the InitableBroker that instantiated this object, so that it can access other Initables. |
void |
setName(java.lang.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. |
void |
shutdown()
Shuts down this service. |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected org.apache.commons.configuration.Configuration configuration
Constructor Detail |
public BaseUnicastRemoteService() throws java.rmi.RemoteException
Method Detail |
public org.apache.commons.configuration.Configuration getConfiguration()
getConfiguration
in interface Service
public void init(javax.servlet.ServletConfig config) throws InitializationException
InitializationException
public void setInitableBroker(InitableBroker broker)
Initable
setInitableBroker
in interface Initable
broker
- The InitableBroker that instantiated this object.public InitableBroker getInitableBroker()
public void init(java.lang.Object data) throws InitializationException
Initable
init
in interface Initable
data
- An Object to use for initialization activities.
InitializationException
- if initilaization of this
class was not successful.public void init() throws InitializationException
Initable
init
in interface Initable
InitializationException
- if initialization of this
class was not successful.protected void setInit(boolean value)
public boolean getInit()
Initable
getInit
in interface Initable
public void shutdown()
shutdown
in interface Initable
public java.util.Properties getProperties()
Service
getProperties
in interface Service
public void setName(java.lang.String name)
Service
setName
in interface Service
name
- The name of this Service.public java.lang.String getName()
Service
getName
in interface Service
public ServiceBroker getServiceBroker()
public void setServiceBroker(ServiceBroker broker)
Service
setServiceBroker
in interface Service
broker
- The ServiceBroker that instantiated this object.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |