|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.objectweb.jonas.server.discovery.Enroller
In charge of waiting for starting or stopping notifications and notifies the appropriate listeners.
Constructor Summary | |
Enroller()
|
Method Summary | |
java.lang.String |
getListeningIp()
|
int |
getListeningPort()
gets the port on which the Enroller is listening for a discovery request. |
int |
getTimeToLive()
gets the time to live of the multicast socket. |
void |
postDeregister()
|
void |
postRegister(java.lang.Boolean arg0)
|
void |
preDeregister()
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer mbeanServer,
javax.management.ObjectName on)
|
void |
setListeningIP(java.lang.String listeningIP)
sets the IP address the listening manager uses. |
void |
setListeningPort(int listeningPort)
sets the port on which the Enroller is listening. |
void |
setTimeToLive(int ttl)
sets the time to live value to ttl. |
void |
start()
starts the listening task on the listeningPort and listening Ip defined with the parameters. |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Enroller()
Method Detail |
public javax.management.ObjectName preRegister(javax.management.MBeanServer mbeanServer, javax.management.ObjectName on) throws java.lang.Exception
preRegister
in interface javax.management.MBeanRegistration
java.lang.Exception
MBeanRegistration.preRegister(javax.management.MBeanServer,
javax.management.ObjectName)
public void postRegister(java.lang.Boolean arg0)
postRegister
in interface javax.management.MBeanRegistration
MBeanRegistration.postRegister(java.lang.Boolean)
public void preDeregister() throws java.lang.Exception
preDeregister
in interface javax.management.MBeanRegistration
java.lang.Exception
MBeanRegistration.preDeregister()
public void postDeregister()
postDeregister
in interface javax.management.MBeanRegistration
MBeanRegistration.postDeregister()
public int getListeningPort()
EnrollerMBean
getListeningPort
in interface EnrollerMBean
EnrollerMBean.getListeningPort()
public void setListeningPort(int listeningPort)
EnrollerMBean
setListeningPort
in interface EnrollerMBean
EnrollerMBean.setListeningPort(int)
public java.lang.String getListeningIp()
getListeningIp
in interface EnrollerMBean
EnrollerMBean.getListeningIp()
public void setListeningIP(java.lang.String listeningIP)
EnrollerMBean
setListeningIP
in interface EnrollerMBean
EnrollerMBean.setListeningIP(java.lang.String)
public void setTimeToLive(int ttl)
EnrollerMBean
setTimeToLive
in interface EnrollerMBean
ttl
- EnrollerMBean.setTimeToLive(int)
public int getTimeToLive()
EnrollerMBean
getTimeToLive
in interface EnrollerMBean
EnrollerMBean.getTimeToLive()
public void start()
EnrollerMBean
start
in interface EnrollerMBean
EnrollerMBean.start()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |