http://code.google.com/p/flowlogix/source/browse/tapestry-services/src/main/java/com/flowlogix/util/ExternalServiceUtil.java

Use this function to locate your service by class ID. It works exactly like 
@Inject. 


On May 5, 2013, at 1:01 PM, Stefan Baur <ste...@baurs.ch> wrote:

> Hi
> 
> I am runnung a card game application within a Tapestry website. For user
> management, I use tapestry-hibernate and some tapestry pages to
> create/list/etc users.
> 
> Withing the game application, I create my own Hibernate SessionFactory
> handle logins in the game.
> 
> Is it possible to somehow obtain the SessionFactory from Tapestry instead
> of creating a second instance? I am aware that the tapestry context is
> registered as a ServletContext parameter, but I have no idea how to
> "manually" get an object that would be @Inject-ed in Tapestry context.
> 
> Thanks for help.
> Stefan

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

Reply via email to