A
BeanContextChild
, or any arbitrary object
associated with a
BeanContextChild
, may obtain
a reference to a currently registered service from its
nesting
BeanContextServices
via invocation of this method.
A
BeanContextChild
, or any arbitrary object
associated with a
BeanContextChild
, may obtain
a reference to a currently registered service from its
nesting
BeanContextServices
via invocation of this method. When invoked, this method
gets the service by calling the getService() method on the
underlying
BeanContextServiceProvider
.
Returns:
a reference to this context's named
Service as requested or
null
Parameters:
-
child - the
BeanContextChild
associated with this request
-
requestor - the object requesting the service
-
serviceClass - class of the requested service
-
serviceSelector - the service dependent parameter
-
bcsrl - the
BeanContextServiceRevokedListener
to notify
if the service should later become revoked
Throws:
-
TooManyListenersException -