|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceRegistrationStrategy
| Method Summary | |
|---|---|
void |
initialize(java.lang.String serviceType,
java.lang.String serviceName,
int port)
Initialize the service registration strategy. |
void |
initialize(java.lang.String serviceType,
java.lang.String serviceName,
int port,
java.util.Hashtable<java.lang.String,java.lang.String> properties)
Initialize the service registration strategy. |
void |
register()
Register the service. |
void |
unregister()
Unregister the service. |
| Method Detail |
|---|
void initialize(java.lang.String serviceType,
java.lang.String serviceName,
int port)
throws java.lang.Exception
serviceType - the service type string (eg, "http")serviceName - the name of the service (eg, "My Service")port - the port the service is listening on
java.lang.Exception
void initialize(java.lang.String serviceType,
java.lang.String serviceName,
int port,
java.util.Hashtable<java.lang.String,java.lang.String> properties)
throws java.lang.Exception
serviceType - the service type string (eg, "http")serviceName - the name of the service (eg, "My Service")port - the port the service is listening onproperties - other properties (eg, path = "/opennms")
java.lang.Exception
void register()
throws java.lang.Exception
java.lang.Exception
void unregister()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||