|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.component.carol.CarolComponent
public class CarolComponent
This component allows to start a registry.
Constructor Summary | |
---|---|
CarolComponent()
Creates a new Carol component. |
Method Summary | |
---|---|
java.util.List<Property> |
getProperties()
Gets the list of properties. |
java.util.List<Protocol> |
getProtocols()
Gets the protocols defined for the start. |
java.lang.String |
getProviderURL()
Gets the default Provider URL. |
void |
init()
Init method. This method is called before the start method. |
boolean |
isKeepRunning()
|
boolean |
isUnbindOnStop()
|
void |
setKeepRunning(boolean keepRunning)
Stop and restart calls on this component won't do anything with this mode enabled. |
void |
setProperties(java.util.List<Property> carolProperties)
Set the list of properties. |
void |
setProtocols(java.util.List<Protocol> protocols)
Sets the list of protocols. |
void |
setUnbindOnStop(boolean unbindOnStop)
If true, the names will be unbound when the component will be stopped. |
void |
start()
Start method. This method is called after the init method. |
void |
stop()
Stop method. This method is called when component needs to be stopped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CarolComponent()
Method Detail |
---|
public void init() throws EZBComponentException
init
in interface EZBComponent
EZBComponentException
- if the initialization has failed.public void start() throws EZBComponentException
start
in interface EZBComponent
EZBComponentException
- if the start has failed.public void stop() throws EZBComponentException
stop
in interface EZBComponent
EZBComponentException
- if the stop is failing.public java.util.List<Protocol> getProtocols()
public void setProtocols(java.util.List<Protocol> protocols)
protocols
- the list of protocols configured for this server.public java.lang.String getProviderURL()
getProviderURL
in interface RegistryComponent
public java.util.List<Property> getProperties()
public void setProperties(java.util.List<Property> carolProperties)
carolProperties
- the list of properties.public boolean isUnbindOnStop()
public void setUnbindOnStop(boolean unbindOnStop)
unbindOnStop
- true or falsepublic boolean isKeepRunning()
public void setKeepRunning(boolean keepRunning)
keepRunning
- true/false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |