|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.detection.util.DetectorUtil
public class DetectorUtil
A simple utility class that will periodically print out remoting servers running based on detections. Can specify to either use multicast or jndi detection type.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_HOST
localhost * |
static int |
DEFAULT_PORT
2410 * |
static java.lang.String |
TYPE_JNDI
jndi * |
static java.lang.String |
TYPE_MULTICAST
multicast * |
Constructor Summary | |
---|---|
DetectorUtil()
|
|
DetectorUtil(java.lang.String type)
|
|
DetectorUtil(java.lang.String type,
int port)
|
|
DetectorUtil(java.lang.String type,
int port,
java.lang.String host)
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
void |
start()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TYPE_MULTICAST
public static final java.lang.String TYPE_JNDI
public static final int DEFAULT_PORT
public static final java.lang.String DEFAULT_HOST
Constructor Detail |
---|
public DetectorUtil()
public DetectorUtil(java.lang.String type)
public DetectorUtil(java.lang.String type, int port)
public DetectorUtil(java.lang.String type, int port, java.lang.String host)
Method Detail |
---|
public void start()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |