opensubscriber
   Find in this group all groups
 
Unknown more information…

t : tapestry-user@jakarta.apache.org 10 January 2006 • 10:18PM -0500

InjectObject
by Martin Strand

REPLY TO AUTHOR
 
REPLY TO GROUP




Just a thought, wouldn't it be nice if InjectObject by default injected  
the service with an id equal to the return type's fully qualified name?


@InjectObject
public abstract MyService getMyService();

would be the same as

@InjectObject("service:my.package.MyService")
public abstract MyService getMyService();


At least for me the type's name is equal to the service id about 99% of  
the time. What do you think?.

--Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jaka...
For additional commands, e-mail: tapestry-user-help@jaka...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.