2 Replies Latest reply on Aug 25, 2015 12:50 AM by kaiser101

    jbpm-services as spring beans

    kaiser101

      Hi,

       

      Wanted to know if it is possible to configure some of the classes available in jbpm-services as spring beans. For e.g. DeploymentUnit, RuntimeService, RuntimeManager,

      ProcessService, RuntimeDataService etc. Is there a code example I can look into?

       

      Thanks.

        • 1. Re: jbpm-services as spring beans
          swiderski.maciej

          of course you can use them. Here you can find complete application and here it is running on OpenShift instance. I recommend going through this article that describes quite a lot.

           

          HTH

          • 2. Re: jbpm-services as spring beans
            kaiser101

            Hi Maciej,

             

            Thanks for the links. The last article is what prompted me to ask the question above. We use spring in our application and we wanted to use the deployment service and other services as spring beans.

             

            I have one more question, why is identity provider mandatory for deployment service and runtimedataservice. If i am establishing the users' identity when the users login to the application is that not enough? Why do I have to implement the identity provider interface again?

             

            Regards