|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.serviceregistration.strategies.JMDNSStrategy
public class JMDNSStrategy
| Constructor Summary | |
|---|---|
JMDNSStrategy()
|
|
| 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 JMDNSStrategy()
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void initialize(java.lang.String serviceType,
java.lang.String serviceName,
int port)
throws java.lang.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
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 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")
java.lang.Exception
public void register()
throws java.lang.Exception
ServiceRegistrationStrategy
register in interface ServiceRegistrationStrategyjava.lang.Exception
public void unregister()
throws java.lang.Exception
ServiceRegistrationStrategy
unregister in interface ServiceRegistrationStrategyjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||