1 Reply Latest reply on Feb 19, 2008 5:54 AM by guidoscalise

    Service Pojo Configuration

    dfisher Newbie

      Posted this in beginner's corner and got no response...

      I read the docs on service pojos:

      Does anyone have an example of how to configure attributes on a service pojo?

      Specifically ServiceOne has a method called setAttribute(int), how do I set that value when the pojo starts?

      Does that configuration data go into jboss-service.xml or ejb-jar.xml?

        • 1. Re: Service Pojo Configuration
          guidoscalise Newbie

          Hi, did you come up with a solution on this subject?
          I've been reading the source code to see if I can spot where the MBean creation occurs and whether the deployer looks for any descriptor, but couldn't find anything.

          I don't want to hardcode my attributes and I see no other "standard" way to do it than via MBean attributes.