public class BaseUnicastRemoteService extends UnicastRemoteObject implements Service
UnicastRemoteObject
as a Turbine Service.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.configuration.Configuration |
configuration |
refSERVICE_NAME| Constructor and Description |
|---|
BaseUnicastRemoteService()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.configuration.Configuration |
getConfiguration()
Returns the configuration of this service.
|
boolean |
getInit()
Returns initialization status of an Initable.
|
InitableBroker |
getInitableBroker()
Get the
InitableBroker instance |
String |
getName()
Returns the name of this Service.
|
Properties |
getProperties()
Returns the Properties of this Service.
|
ServiceBroker |
getServiceBroker()
Get the
ServiceBroker instance |
void |
init()
Performs late initialization of an Initable.
|
void |
init(Object data)
Performs early initialization of an Initable
During the startup of the system, different objects may be
passed to your class using this method.
|
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(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.
|
clone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogprotected org.apache.commons.configuration.Configuration configuration
public BaseUnicastRemoteService() throws RemoteException
RemoteException - if the remote object cannot be createdpublic org.apache.commons.configuration.Configuration getConfiguration()
getConfiguration in interface Servicepublic void setInitableBroker(InitableBroker broker)
InitablesetInitableBroker in interface Initablebroker - The InitableBroker that instantiated this object.public InitableBroker getInitableBroker()
InitableBroker instancepublic void init(Object data) throws InitializationException
Initableinit in interface Initabledata - An Object to use for initialization activities.InitializationException - if initialization of this
class was not successful.public void init() throws InitializationException
Initableinit in interface InitableInitializationException - if initialization of this
class was not successful.protected void setInit(boolean value)
public boolean getInit()
Initablepublic void shutdown()
public Properties getProperties()
ServicegetProperties in interface Servicepublic void setName(String name)
Servicepublic String getName()
Servicepublic ServiceBroker getServiceBroker()
ServiceBroker instancepublic void setServiceBroker(ServiceBroker broker)
ServicesetServiceBroker in interface Servicebroker - The ServiceBroker that instantiated this object.Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.