package com.ttv.acs.testJMX;

import org.jboss.ejb3.annotation.Management;
import org.jboss.ejb3.annotation.Service;

@Service (objectName="MaoJMX:service=MAOTestJMX")   
@Management(MyJMXInterface.class)   
public class MyJMXImpl implements MyJMXInterface {

	public void create() throws Exception {
		System.out.println("++++ Enter MyJMXImpl.create()");

	}

	public void destroy() throws Exception {
		System.out.println("++++ Enter MyJMXImpl.destroy()");

	}

	public void myTestMethod() {
		System.out.println("++++ Enter MyJMXImpl.myTestMethod()");

	}

	public void start() throws Exception {
		System.out.println("++++ Enter MyJMXImpl.start()");
	}

	public void stop() throws Exception {
		System.out.println("++++ Enter MyJMXImpl.stop()");
	}

}
