|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.component.carol.CarolComponent
public class CarolComponent
This component allows to start a registry.
Field Summary | |
---|---|
private static java.lang.String |
DEFAULT_PREFIX_PROTOCOL
Default prefix protocol. |
private JLog |
logger
Logger. |
private java.util.List<Protocol> |
protocols
List of protocols. |
Constructor Summary | |
---|---|
CarolComponent()
Creates a new Carol component. |
Method Summary | |
---|---|
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. |
void |
setProtocols(java.util.List<Protocol> protocols)
Sets the list of protocols. |
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 |
Field Detail |
---|
private JLog logger
private static final java.lang.String DEFAULT_PREFIX_PROTOCOL
private java.util.List<Protocol> protocols
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |