|
|
Re: JMX and Spring bean [message #655018 is a reply to message #654805] |
Fri, 18 February 2011 01:11 |
Dan Tran Messages: 24 Registered: February 2011 |
Junior Member |
|
|
I found org.eclipse.virgo.apps.repository has and implementation of MBean. However, the source manually register the bean.
I was hoping i could find some thing like
@ManagedResource(objectName = "com.mycomp.mc:name=helloWorld", description = "Hello World Via Spring DM.")
public class ExampleService
implements Service {
/**
* Reads next record from input
*/
@ManagedOperation(description = "Hello World!")
public String getMessage() {
return "Hello world!";
}
}
Btw, I also export ExampleService as bundle service bean and it does not help either
Big thanks ahead for advices
-D
[Updated on: Fri, 18 February 2011 01:35] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03322 seconds