hi,

I would like to whether i connect throw MBeanServerConnectionFactoryBean without puuting the environment data in the xml or properies files?
for example:

<bean id="runtimeMbeanServerConnection" class="org.springframework.jmx.support.MBeanServer ConnectionFactoryBean"/
>


props.put( HOST, "xxx" );
props.put( PORT, "7001" );
props.put( USERNAME, "weblogic" );
props.put( PASSWORD, "weblogic" );
props.put( CONNECTION_PROTOCOL, "t3" );
ApplicationContext AC = new FileSystemXmlApplicationContext("beans.xml");

i would like to excute something like:
AC.getBean("runtimeMbeanServerConnection", props);

The reason is i am getting this data on runtime.

Thanks/