Add dependency support for direct mbeans.

[WFLY-3921]; 
We should be able to depend on existing mbeans from jboss-service.xml.
(e.g. mbeans registered directly from JMX API)
Yeah, but it doesn't hurt if it there.
Or what's the problem with it?

> On Oct 6, 2014, at 23:06, Brian Stansberry <notifications@github.com> wrote:
> 
> In jmx/src/main/java/org/jboss/as/jmx/PluggableMBeanServerImpl.java:
> 
> > @@ -123,7 +126,12 @@
> >       * @param rootMBeanServerDelegate can be {@code null} if the {@link PluggableMBeanServerBuilder} is not used
> >       */
> >      PluggableMBeanServerImpl(MBeanServer rootMBeanServer, MBeanServerDelegate rootMBeanServerDelegate) {
> > -        this.rootMBeanServer = new TcclMBeanServer(rootMBeanServer);
> > +        this(rootMBeanServer, rootMBeanServerDelegate, CurrentServiceContainer.getServiceContainer());
> If this constructor gets called, I'm almost certain it will be too early for CurrentServiceContainer.getServiceContainer() to return anything but null. Now it would only get called from the javax.management.MBeanServerBuilder usage.
> 
> —
> Reply to this email directly or view it on GitHub.