Hi! Sry for my english. I have next problem.. I have three entities
DomainManager, Domain and Node. DomainManager is singleton that able
to create list of Domain objects. Each Domain can create list of Node
objects:
DomainManager 1<>-----* Domain 1<>----* Node
I want:
1. Node implementation can inject corresponding parent Domain to
himself.
2. Node implementation can inject Domain manager instance too.
class NodeImpl {
@Inject
NodeImpl(Domain parentDomain, DomainManager domainManager) {
}
}
How can i do this?
--
You received this message because you are subscribed to the Google Groups
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice?hl=en.