BeanContextServiceProvider
s call this method to register a particular service with this context. If the service has not previously been added, the BeanContextServices
associates the service with the BeanContextServiceProvider
and fires a BeanContextServiceAvailableEvent
to all currently registered BeanContextServicesListeners
. The method then returns true
, indicating that the addition of the service was successful. If the given service has already been added, this method simply returns false
.
@param serviceClass the service to add
@param serviceProvider the BeanContextServiceProvider
associated with the service
|
|