1 Reply Latest reply on Jun 6, 2005 12:50 PM by starksm64

    JBoss Bean Deployer - JMX Object Names

      To allow jboss bean deployments to work in the jmx lifecycle
      I've made the bean deployer use "Manual" mode.
      Since the deployments are MBeans under the control of the ServiceController,
      you can use these names like you would any other dependency.

      e.g.

      <depends>jboss.beans:service=JBossBeanDeployment,name='mybeans.bar'</depends>
      


      While this provides fairly direct access to the dependency being specified,
      do you think it would be good idea to provide a logical override of the name,
      e.g.
      <?xml version="1.0" encoding="UTF-8"?>
      
      <deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd"
       xmlns="urn:jboss:bean-deployer"
       name="HelloBeans"> <!-- HERE -->
       <bean name="Name1" class="test.Hello">
       <property name="prop">Property</property>
       </bean>
      </deployment>
      
      Gives:
      <depends>jboss.beans:service=JBossBeanDeployment,name='HelloBeans'</depends>