scylla-jmx/src/main/java/com/cloudius/main/Main.java
Amnon Heiman d46a124be3 Adding the MBean Service Support
This adds the java project that expose the system MBean.
The Main would start any required classes and would wait forever.

The mvn creates jar with main and set the classpath accordingly.
To start do:

java -jar target/urchin-mbean-1.0.jar

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
2015-05-17 15:33:05 +03:00

14 lines
255 B
Java

/*
* Copyright 2015 Cloudius Systems
*/
package com.cloudius.main;
public class Main {
public static void main(String[] args) throws Exception {
System.out.println("Starting the JMX server");
Thread.sleep(Long.MAX_VALUE);
}
}