|
||||||||||
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(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. |
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(java.lang.String serviceType, java.lang.String serviceName, int port) throws java.lang.Exception
ServiceRegistrationStrategy
initialize
in interface ServiceRegistrationStrategy
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
public 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
ServiceRegistrationStrategy
initialize
in interface ServiceRegistrationStrategy
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
public void register() throws java.lang.Exception
ServiceRegistrationStrategy
register
in interface ServiceRegistrationStrategy
java.lang.Exception
public void unregister() throws java.lang.Exception
ServiceRegistrationStrategy
unregister
in interface ServiceRegistrationStrategy
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |