You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Ron Gavlin <rg...@yahoo.com> on 2008/04/11 13:21:53 UTC
Question re: changing default SMX Store/StoreFactory implementation
I have custom Store/StoreFactory implementations that
I would like used throughout my SMX instance. Since I
have many SAs, it is quite inconvenient to Spring
dependency-inject my custom implementation classes
into everyone one of my xbean.xml files.
Do you have some ideas how I might approach this
issue?
Thanks,
- Ron
Re: Question re: changing default SMX Store/StoreFactory implementation
Posted by Guillaume Nodet <gn...@gmail.com>.
I see two ways:
* register the object in JNDI and use spring jndi support to
retrieve it
* import another spring config from the xbean.xml which includes
the definition (this file could be in the container classpath or even
in a shares library)
Sent from my iPhone
On 11 avr. 08, at 13:21, Ron Gavlin <rg...@yahoo.com> wrote:
> I have custom Store/StoreFactory implementations that
> I would like used throughout my SMX instance. Since I
> have many SAs, it is quite inconvenient to Spring
> dependency-inject my custom implementation classes
> into everyone one of my xbean.xml files.
>
> Do you have some ideas how I might approach this
> issue?
>
> Thanks,
>
> - Ron