-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: How a loaded object can get the buisiness context ?
PostPosted: Tue Aug 07, 2007 4:06 am 
Newbie

Joined: Wed May 23, 2007 4:09 am
Posts: 16
I whish my object to be able to interact with some other main objects of my app. How can I get the context? I don't want to use a singleton?

I believe I can implement ILifecycle so I would get a reference to the ISession but how can I get an instance to my own object. Is there a "for customer" object I can use somewhere in ISession?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.