org.jboss.msc.service
Class DelegatingInjectionSource
java.lang.Object
org.jboss.msc.service.DelegatingInjectionSource
- Direct Known Subclasses:
- FieldDelegatingInjectionSource, MethodDelegatingInjectionSource, PropertyDelegatingInjectionSource
public abstract class DelegatingInjectionSource
- extends Object
Base injection source that delegates to another injection source, and is intended to be extended to support source chaining.
- Author:
- John E. Bailey
|
Method Summary |
protected abstract
|
getValue(Value<?> delegateValue,
Value<T> serviceValue,
org.jboss.msc.service.ServiceBuilder<T> serviceBuilder,
org.jboss.msc.service.ServiceContainerImpl container)
Contract method providing children with the value of the delegate InjectionSource. |
protected
|
getValue(Value<T> serviceValue,
org.jboss.msc.service.ServiceBuilder<T> serviceBuilder,
org.jboss.msc.service.ServiceContainerImpl container)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingInjectionSource
public DelegatingInjectionSource(org.jboss.msc.service.InjectionSource delegate)
getValue
protected <T> Value<?> getValue(Value<T> serviceValue,
org.jboss.msc.service.ServiceBuilder<T> serviceBuilder,
org.jboss.msc.service.ServiceContainerImpl container)
getValue
protected abstract <T> Value<?> getValue(Value<?> delegateValue,
Value<T> serviceValue,
org.jboss.msc.service.ServiceBuilder<T> serviceBuilder,
org.jboss.msc.service.ServiceContainerImpl container)
- Contract method providing children with the value of the delegate InjectionSource.
- Parameters:
delegateValue - The value from the delegate injection sourceserviceValue - The service valueserviceBuilder - The service buildercontainer - The service container
- Returns:
- The value of the injection source
Copyright © 2010 JBoss, a division of Red Hat, Inc.