[jboss-dev-forums] [Design of POJO Server] - Re: bean/mbean integration issue

alesj do-not-reply at jboss.com
Thu Jan 11 17:55:39 EST 2007


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#4000632

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000632



More information about the jboss-dev-forums mailing list