org.jboss.msc.service
Class PropertyDelegatingInjectionSource
java.lang.Object
org.jboss.msc.service.DelegatingInjectionSource
org.jboss.msc.service.PropertyDelegatingInjectionSource
public class PropertyDelegatingInjectionSource
- extends DelegatingInjectionSource
InjectionSource that delegates to another InjectionSource and uses a property of the value as the actual injection value.
- Author:
- John E. Bailey
|
Method Summary |
protected
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyDelegatingInjectionSource
public PropertyDelegatingInjectionSource(org.jboss.msc.service.InjectionSource delegate,
String propertyName)
PropertyDelegatingInjectionSource
public PropertyDelegatingInjectionSource(org.jboss.msc.service.InjectionSource delegate,
Value<Property> propertyValue)
getValue
protected <T> Value<?> getValue(Value<?> delegateValue,
Value<T> serviceValue,
org.jboss.msc.service.ServiceBuilder<T> serviceBuilder,
org.jboss.msc.service.ServiceContainerImpl container)
- Description copied from class:
DelegatingInjectionSource
- Contract method providing children with the value of the delegate InjectionSource.
- Specified by:
getValue in class DelegatingInjectionSource
- 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.