[jboss-dev-forums] [Design of POJO Server] - Re: bean/mbean integration issue
alesj
do-not-reply at jboss.com
Fri Jan 12 15:11:03 EST 2007
"adrian at jboss.org" wrote :
| This interface is not correct.
| PropertyMetaData and ParameterMetaData are POJO specific.
|
| This interface belongs in the dependency module that knows nothing about
| POJOs/services.
|
| You need something like the DynamicMBean interface
|
| | Object get(String name) throws Throwable;
| | void set(String name, Object value) throws Throwable;
| | Object invoke(String name, String[] signature, Object[] parameters) throws Throwable;
| |
|
Yes.
I tried with this sort of impl.
But I saw that in order to get the actual parameter values and their (String) types I needed a lot of target info - beanInfo, methodInfo, classloader, ... Which would bloat the interface.
Is the target (Service, ...) always availabe to me for this sort of info?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001096#4001096
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001096
More information about the jboss-dev-forums
mailing list