I added DispatchContext interface.
| public interface DispatchContext
| {
| /**
| * Getter property / attribute
| *
| * @param name
| * @return
| * @throws Throwable
| */
| Object get(String name) throws Throwable;
|
| /**
| * Setter property / attribute
| *
| * @param property
| * @throws Throwable
| */
| void set(PropertyMetaData property) throws Throwable;
|
| /**
| * Invoke method / opration
| *
| * @param name
| * @param parameters
| * @return
| * @throws Throwable
| */
| Object invoke(String name, List<ParameterMetaData> parameters) throws
Throwable;
| }
|
This solves the issue above - should ServiceControllerContext implement it (on top of
MBeanServer).
I'll go further with this abstraction.
When are we going to update the MC libs for JBoss5?
So that I update the Service --> MC part, with this and all other issues that I might
resolve.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000632#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...