d46a124be3
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>
14 lines
255 B
Java
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);
|
|
}
|
|
|
|
}
|