|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.bootstrap.ReceiverServiceWrapper
public class ReceiverServiceWrapper
Starts the ReceiverService
as a background
service, using the XBUSClassLoader
.
It works together with the Java Service Wrapper from Silveregg Technologies to start it as a service in Windows NT, Linux or Solaris. This is an open-source packages which can be found at SourceForge.
Constructor Summary | |
---|---|
ReceiverServiceWrapper()
|
Method Summary | |
---|---|
void |
controlEvent(int arg0)
Called whenever the native wrapper code traps a system control signal against the Java process. |
static void |
main(java.lang.String[] args)
Start the application. |
java.lang.Integer |
start(java.lang.String[] arg0)
Called when the WrapperManager is signaled by the native wrapper code that it can start its application. |
int |
stop(int arg0)
Called when the application is shutting down. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReceiverServiceWrapper()
Method Detail |
---|
public static void main(java.lang.String[] args)
public java.lang.Integer start(java.lang.String[] arg0)
ReceiverService
will be started.
start
in interface org.tanukisoftware.wrapper.WrapperListener
arg0
- not used
ReceiverService
have been started,
otherwise 1public int stop(int arg0)
ReceiverService
will be stopped.
stop
in interface org.tanukisoftware.wrapper.WrapperListener
arg0
- not used
public void controlEvent(int arg0)
controlEvent
in interface org.tanukisoftware.wrapper.WrapperListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |