chaps,
am using jboss scheduler to schedule an mbean.
the method am trying to schedule uses another mbean method(@depends)
but when this method is sceduled, the second mbean method throws a null pointer.
here s the scenario
@LocalBinding(jndiBinding = "xx/yy/local")
@RemoteBinding(jndiBinding = "xx/yy/remote")
@Service(objectName = "xx:service=yy")
@Management(...)
@Depends( { "aa:service=Environment" })
public class MyClass implements Schedulable {
@Depends("a:service=Environment")
private Environment e;
public mySchedulableMethod() {
//calls method on Environment
e.something(); //this throws null pointer
}
}
any ideas??
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069177#4069177
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069177
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user