No, it would be really nice if it will inject the (single) Service
defined for its return type.
so
@InjectObject
public IRequestCycle getRequestCycle()
will inject the request cycle.
it if functions for hivemind it should function for tapestry...
Cheers,
Ron
Martin Strand wrote:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]