[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    RE: Access Registry
From:       "James Carman" <james () carmanconsulting ! com>
Date:       2006-04-30 11:01:32
Message-ID: 002401c66c45$71500290$6b01a8c0 () CARMANI9300
[Download RAW message or body]

You can create a service implementation factory which injects the
contributing module into your service implementation.  From there, you can
lookup stuff in the registry.  Refer to an example here:

http://www.carmanconsulting.com/svn/public/tapernate-example/trunk/src/java/
org/apache/tapestry/enhance/HiveMindAutowireWorkerFactory.java


-----Original Message-----
From: Stanczak Group [mailto:justin@stanczakgroup.com] 
Sent: Sunday, April 30, 2006 2:57 AM
To: Tapestry users
Subject: Access Registry

I have a service and I would like to have HiveMind autowire the Registry
into it. What how do I do this. I've tried just providing a set method
like I do with all the services I've created, but it doesn't work. What
is it called? I'd like to set something that I could use to lookup other
services. What I'm going to do is set the Registry in one of the objects
this service creates so it can lookup services it needs.

-- 
Justin Stanczak
Stanczak Group
812-735-3600

"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke

..________...............__.................
./  _____/..____..._____/..|_..____...____....
/...\..____/.__.\./....\...__\/.._.\./._..\....
\....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
.\______../\___.._\__|../__|..\____/.\____/......
........\/.....\/.....\/..........................


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic