On Tue, 18 Nov 2014 10:39:52 -0200, Lance Java <lance.j...@googlemail.com> wrote:

This might help

https://github.com/apache/tapestry-5/search?utf8=%E2%9C%93&q=Mapmoduledef

Have you tried contributing an ObjectProvider to the MasterObjectProvider service? This won't allow your Pico-provided objects to be Tapestry-IoC services, but you'll be able to @Inject them.

On 18 Nov 2014 11:00, "Gunnar Eketrapp" <gunnar.eketr...@gmail.com> wrote:

Hi!


I would like to add service from our own ioc container (pico based) so
that they may used in my tapestry projects.

I.e. I have an ioc container used within none Tapestry projects.

Now I would like to be able to use those services from within my Tapestry
pages components and services.


I didn't find any example on how to do it for pico but found this for
guice
http://tawus.wordpress.com/2011/04/22/tapestry-magic-4-integrating-guice/

I tried to follow that one and adopt it for our container but have not
been lucky yet!

I have created 4 classes (Our own IOC container is called
ApplicationContainer)

TapestryApplicationContainerFilter.java
ApplicationContainerModuleDef.java
ApplicationContainerObjectProvider.java
ApplicationContainerServiceDef.java

But I cant figure out how the ServiceDef and ObjectProvider should be
implemented.

Thanks in advance!
/Gunnar Eketrapp





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to