Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3767

Create a canonical "JndiServiceMBeanSupport" useful for binding objects to JNDI

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.0.0.GA
    • None
    • JMX
    • None

      A common application integration pattern is to create MBean services that bind objects (or themselves) to JNDI.

      These objects bound to JNDI are then used in EJBs.

      It seems generally useful to provide a class with JBoss, similar to ServiceMBeanSupport, which allows users to bind objects to the local JNDI.

      A lot of JBoss services do bind objects to JNDI and could probably extend from this base class.

      http://wiki.jboss.org/wiki/Wiki.jsp?page=BindMBeanToJNDI

      Additional ideas: Create an attribute "BindObject". Then users could do something like:

      <attribute name="BindObject" attributeClass="..."
      serialDataType="javaBean">
      </attribute>

              starksm64 Scott Stark (Inactive)
              genman_jira Elias Ross (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: