JBoss Modular Service Kernel API 1.0.0.Beta1

org.jboss.msc.service
Class DelegatingInjectionSource

java.lang.Object
  extended by 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

Constructor Summary
DelegatingInjectionSource(org.jboss.msc.service.InjectionSource delegate)
           
 
Method Summary
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.
protected
<T> Value<?>
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
 

Constructor Detail

DelegatingInjectionSource

public DelegatingInjectionSource(org.jboss.msc.service.InjectionSource delegate)
Method Detail

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 source
serviceValue - The service value
serviceBuilder - The service builder
container - The service container
Returns:
The value of the injection source

JBoss Modular Service Kernel API 1.0.0.Beta1

Copyright © 2010 JBoss, a division of Red Hat, Inc.