[jboss-user] [Microcontainer] - Re: Programatically create a Inject fromContext

wolfc do-not-reply at jboss.com
Wed Mar 18 07:42:25 EDT 2009


 //ValueMetaData inject = builder.createInject(containerMCBeanName, null, null, ControllerState.DESCRIBED);
  | AbstractInjectionValueMetaData inject = new AbstractInjectionValueMetaData(containerMCBeanName);
  | inject.setWhenRequiredState(ControllerState.DESCRIBED);
  | inject.setFromContext(FromContext.CONTEXT);

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219025#4219025

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



More information about the jboss-user mailing list