0 Replies Latest reply on Mar 19, 2004 5:18 AM by ottoberg

    Automatic resolution of ObjectNames in <depends>-tags

      Some of my freshly baked XMBeans have dependencies on fellow XMBeans. I have come to the conclusion that a

      <attribute name="property">ns:service=whatever</attribute>
      makes JBoss expect a
      public void setProperty(ObjectName ref){}
      method on the target XMBean. Yet my XMBeans are unaware of being MBeans and have a
      public void setProperty(Type anotherObject){}
      method instead where Type is the type of another XMBean, not its ObjectName.

      Is there a way - maybe via configuring an interceptor - of having JBoss automatically resolve ObjectNames prior to setting properties on the target XMBean?

      Cheers,
      Olaf