|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rutil.main.SpringMainProcess
public class SpringMainProcess
A Main process implementation that can be used as-is to start/stop applications that are managed by the spring container. If using this process implementation, the startup command would look like this:
java -Dcom.sun.management.jmxremote.port=8085 -D... org.rutil.main.Main org.rutil.main.SpringMainProcess
Main,
MainProcess| Constructor Summary | |
|---|---|
SpringMainProcess()
|
|
| Method Summary | |
|---|---|
boolean |
isRunning()
|
void |
start(java.lang.String... args)
Create a new ClassPathXmlApplicationContext with the supplied args. |
void |
stop()
Invokes applicationContext.destroy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringMainProcess()
| Method Detail |
|---|
public void start(java.lang.String... args)
start in interface MainProcessargs - spring xml filespublic void stop()
stop in interface MainProcesspublic boolean isRunning()
isRunning in interface MainProcess
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||