|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.serviceregistration.strategies.NullStrategy
public class NullStrategy
| Constructor Summary | |
|---|---|
NullStrategy()
|
|
| Method Summary | |
|---|---|
void |
initialize(String serviceType,
String serviceName,
int port)
Initialize the service registration strategy. |
void |
initialize(String serviceType,
String serviceName,
int port,
Map<String,String> properties)
Initialize the service registration strategy. |
void |
register()
Register the service. |
void |
unregister()
Unregister the service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullStrategy()
| Method Detail |
|---|
public void initialize(String serviceType,
String serviceName,
int port)
throws Exception
ServiceRegistrationStrategy
initialize in interface ServiceRegistrationStrategyserviceType - the service type string (eg, "http")serviceName - the name of the service (eg, "My Service")port - the port the service is listening on
Exception
public void initialize(String serviceType,
String serviceName,
int port,
Map<String,String> properties)
throws Exception
ServiceRegistrationStrategy
initialize in interface ServiceRegistrationStrategyserviceType - 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")
Exception
public void register()
throws Exception
ServiceRegistrationStrategy
register in interface ServiceRegistrationStrategyException
public void unregister()
throws Exception
ServiceRegistrationStrategy
unregister in interface ServiceRegistrationStrategyException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||