|
From: <jue...@we...> - 2004-12-23 16:53:46
|
<quote> I could see a specialized FactoryBean to create different types of services e.g. DefinitionService, ExecutionService, SchedulerService, so these services could be directly injected into interested beans. Would anyone be interested to see this support in Spring core? </quote> =20 I doubt that we should include JBPM support classes in Spring core. = Else, everyone and their grandma will want support classes for their = product in Spring's core ;-) =20 I guess we're at the point of creating an extension package once again. = For such stuff, we really need to set up an extension package: not part = of the Spring core, probably not as thoroughly supported as the core, = but nevertheless available for everyone interested. A long-time candidate for such an extension package is our Commons = Validator support in the sandbox. =20 Effectively, such a package would be a collection of small extensions = that didn't make it into the core, for whatever reason, but aren't large = enough to warrant their own project either. (Acegi and the Portlet = support are good examples for large extensions that *are* worth having = their own project.) =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag von = Dmitriy Kopylenko Gesendet: Do 23.12.2004 17:40 An: spr...@li... Betreff: Re: [Springframework-user] Spring + jBPM J.Enrique Ruiz wrote: > >> Have any users integrated these applications together? >> Looking for some pointers on how to give jBPM access to the spring >> context's to look up beans. >>=20 >> > We have integrated these two applications. > > This is the application context to do it: > > <beans> > > <bean id=3D"bpe.jbpmConfiguration" = class=3D"org.jbpm.JbpmConfiguration"> > <constructor-arg> > <props> > <prop key=3D"jbpm.log.stdout">off</prop> > <prop key=3D"hibernate.connection.url"> > jdbc:postgresql://localhost:5432/db > </prop> > <prop key=3D"hibernate.connection.username">user</prop> > <prop key=3D"hibernate.connection.password">passw</prop> > <prop > key=3D"hibernate.connection.driver_class">org.postgresql.Driver</prop> > <prop key=3D"hibernate.dialect"> > net.sf.hibernate.dialect.PostgreSQLDialect > </prop> > </props> > </constructor-arg> > </bean> > > <bean id=3D"bpe.jbpmServiceFactory" = class=3D"org.jbpm.JbpmServiceFactory"> > <constructor-arg> > <ref bean=3D"bpe.jbpmConfiguration" /> > </constructor-arg> > </bean> > > <bean id=3D"myWorkflowService" class=3D"..."> > <property name=3D"jbpmServiceFactory"> > <ref bean=3D"bpe.jbpmServiceFactory"/> > </property> > </bean> > > </beans> > > You can use <ref bean=3D"bpe.jbpmServiceFactory"/> to set the JBPM > service factory in your beans, now you have access to > JbpmServiceFactory services. > > Regards. > I could see a specialized FactoryBean to create different types of services e.g. DefinitionService, ExecutionService, SchedulerService, so these services could be directly injected into interested beans. Would anyone be interested to see this support in Spring core? Regards, Dmitriy. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Springframework-user mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-user |