JBoss Modular Service Kernel API 1.0.0.CR2

Uses of Interface
org.jboss.msc.value.Value

Packages that use Value
org.jboss.msc.inject Classes which implement value injection. 
org.jboss.msc.service The service container implementation itself. 
org.jboss.msc.value Classes which implement various indirect value types. 
 

Uses of Value in org.jboss.msc.inject
 

Methods in org.jboss.msc.inject that return Value
protected  Value<T> RetainingInjector.getStoredValue()
          Get the value object stored in this injector.
protected  Value<T> RetainingInjector.setStoredValue(Value<T> value)
          Set the value object stored in this injector (must not be null).
 

Methods in org.jboss.msc.inject with parameters of type Value
static
<T> Injector<T>
SetMethodInjector.create(Value<?> target, Method method)
          Construct a new instance.
protected  Value<T> RetainingInjector.setStoredValue(Value<T> value)
          Set the value object stored in this injector (must not be null).
 

Constructors in org.jboss.msc.inject with parameters of type Value
AddMethodInjector(Value<?> target, Method addMethod, Method removeMethod)
          Construct a new instance.
AtomicReferenceFieldUpdaterInjector(AtomicReferenceFieldUpdater<C,? super T> updater, Value<C> target)
          Construct a new instance.
FieldInjector(Value<?> target, Field field)
          Construct a new instance.
MethodInjector(Method method, Value<?> targetValue, Value<?> injectedValue, List<? extends Value<?>> parameterList)
          Construct a new instance.
MethodInjector(Method method, Value<?> targetValue, Value<?> injectedValue, List<? extends Value<?>> parameterList)
          Construct a new instance.
SetMethodInjector(Value<?> target, Method method)
          Construct a new instance.
 

Constructor parameters in org.jboss.msc.inject with type arguments of type Value
MethodInjector(Method method, Value<?> targetValue, Value<?> injectedValue, List<? extends Value<?>> parameterList)
          Construct a new instance.
 

Uses of Value in org.jboss.msc.service
 

Subinterfaces of Value in org.jboss.msc.service
 interface Service<T>
          A service is a thing which can be started and stopped.
 interface ServiceController<S>
          A controller for a single service instance.
 

Classes in org.jboss.msc.service that implement Value
 class AbstractService<T>
          An abstract service class which provides default implementations.
 class ValueInjectionService<T>
          A service which propagates a value from a dependency.
 class ValueService<T>
          A service which returns the provided value, which is evaluated once per service start.
 

Fields in org.jboss.msc.service declared as Value
static Value<Service<Void>> Service.NULL_VALUE
          A value which resolves to the null service.
 

Methods in org.jboss.msc.service that return Value
 Value<? extends T> ValueInjection.getSource()
          Get the source value.
 

Methods in org.jboss.msc.service with parameters of type Value
<I> ServiceBuilder<T>
DelegatingServiceBuilder.addInjectionValue(Injector<? super I> target, Value<I> value)
          Add an injection value.
<I> ServiceBuilder<T>
ServiceBuilder.addInjectionValue(Injector<? super I> target, Value<I> value)
          Add an injection value.
<T> ServiceBuilder<T>
DelegatingServiceContainer.addServiceValue(ServiceName name, Value<? extends Service<T>> value)
          Get a builder which can be used to add a service to this target.
<T> ServiceBuilder<T>
DelegatingServiceTarget.addServiceValue(ServiceName name, Value<? extends Service<T>> value)
          Get a builder which can be used to add a service to this target.
<T> ServiceBuilder<T>
ServiceTarget.addServiceValue(ServiceName name, Value<? extends Service<T>> value)
          Get a builder which can be used to add a service to this target.
 

Constructors in org.jboss.msc.service with parameters of type Value
ValueInjection(Value<? extends T> source, Injector<? super T> target)
          Construct a new instance.
ValueService(Value<T> value)
          Construct a new instance.
 

Uses of Value in org.jboss.msc.value
 

Classes in org.jboss.msc.value that implement Value
 class CachedValue<T>
          A value which is calculated once only.
 class CheckedValue<T>
          A value whose type is checked before it is returned.
 class ClassOfValue<T>
          A value which returns the Class object of another value.
 class ConstructedValue<T>
          A value which is created on demand from a constructor.
 class DefaultValue<T>
          A defaulted value.
 class EnvironmentPropertyValue
          A value which comes from an environment property.
 class FieldValue<T>
          A value which reads a field of an object.
 class ImmediateValue<T>
          A simple immediately-available value.
 class InjectedSetValue<T>
          A Set value that can have entries injected into it.
 class InjectedValue<T>
          A value which is injected from another source.
 class ListItemValue<T>
          A value which is acquired from a list by numerical index.
 class ListValue<T>
          A list value.
 class MapEntryValue<K,V>
          A value which yields a map entry.
 class MapItemValue<T>
          A value which is acquired from a map by key.
 class MapValue<K,V>
          A map value.
 class MethodValue<T>
          A value which is produced by invoking a method.
 class ProviderValue<T>
          A value which creates an instance via a Provider.
 class ReferenceValue<T>
          A value which reads a reference.
 class SetValue<T>
          A set value.
 class SystemPropertyValue
          A value which comes from a system property.
 class ThreadLocalValue<T>
          A thread-local value.
 

Fields in org.jboss.msc.value with type parameters of type Value
static List<Value<?>> Values.EMPTY_LIST
          The empty value list.
static List<? extends Value<Class<?>>> Values.EMPTY_TYPE_LIST
          The empty value type list.
 

Methods in org.jboss.msc.value that return Value
static
<T> Value<T>
Values.asSuperclass(Value<? extends T> value)
          Safely re-cast a value as its superclass.
static
<T> Value<T>
Values.cached(Value<T> value)
          Get a cached value for some opaque value.
static
<T> Value<List<T>>
Values.emptyListValue()
          A value which yields the empty list.
 Value<? extends T> ThreadLocalValue.getAndSetValue(Value<? extends T> newValue)
          Get and set the value.
static
<T> Value<T>
Values.immediateValue(T value)
          Get an immediate value.
static
<T> Value<T>
Values.nullValue()
          Get the null value.
static
<K,V> Value<MapEntry<K,V>>
MapEntryValue.of(Value<K> key, Value<V> value)
          Construct a new instance.
 

Methods in org.jboss.msc.value that return types with arguments of type Value
static
<T> List<Value<? extends T>>
Values.emptyList()
          The empty value list.
static
<T> List<Value<? extends T>>
Values.immediateValues(List<T> values)
           
static
<T> List<Value<? extends T>>
Values.immediateValues(T... values)
           
 

Methods in org.jboss.msc.value with parameters of type Value
static
<T> Value<T>
Values.asSuperclass(Value<? extends T> value)
          Safely re-cast a value as its superclass.
static
<T> Value<T>
Values.cached(Value<T> value)
          Get a cached value for some opaque value.
 Value<? extends T> ThreadLocalValue.getAndSetValue(Value<? extends T> newValue)
          Get and set the value.
static
<K,V> Value<MapEntry<K,V>>
MapEntryValue.of(Value<K> key, Value<V> value)
          Construct a new instance.
static
<K,V> Value<MapEntry<K,V>>
MapEntryValue.of(Value<K> key, Value<V> value)
          Construct a new instance.
 void ThreadLocalValue.setValue(Value<? extends T> newValue)
          Set this value, replacing any current value.
 void InjectedValue.setValue(Value<T> value)
          Set the value to be injected to a Value instance.
 

Method parameters in org.jboss.msc.value with type arguments of type Value
static Object[] Values.getValues(Iterable<? extends Value<?>> i)
          Get an object array from the result of an iterable series of values.
static
<T> T[]
Values.getValues(Iterable<? extends Value<? extends T>> i, Class<T> clazz)
          Get a typed object array from the result of an iterable series of values.
static
<T> T[]
Values.getValues(Iterable<? extends Value<? extends T>> i, T[] array)
          Get a typed object array from the result of an iterable series of values.
 

Constructors in org.jboss.msc.value with parameters of type Value
CachedValue(Value<? extends T> value)
          Construct a new instance.
CheckedValue(Class<T> valueClass, Value<?> value)
          Construct a new instance.
ClassOfValue(Value<? extends T> value)
           
DefaultValue(Value<T> value, Value<? extends T> defaultValue)
          Construct a new instance.
DefaultValue(Value<T> value, Value<? extends T> defaultValue)
          Construct a new instance.
EnvironmentPropertyValue(String propertyName, AccessControlContext accessControlContext, Value<?> defaultValue)
          Construct a new instance.
EnvironmentPropertyValue(String propertyName, Value<?> defaultValue)
          Construct a new instance.
FieldValue(Field field, Value<?> targetValue)
          Construct a new instance.
ListItemValue(Value<List<? extends T>> listValue, Value<? extends Number> indexValue)
          Construct a new instance.
ListItemValue(Value<List<? extends T>> listValue, Value<? extends Number> indexValue)
          Construct a new instance.
MapItemValue(Value<?> keyValue, Value<? extends Map<?,? extends T>> mapValue)
          Construct a new instance.
MapItemValue(Value<?> keyValue, Value<? extends Map<?,? extends T>> mapValue)
          Construct a new instance.
MapValue(Value<? extends Map<K,V>> mapValue, List<MapEntry<? extends Value<? extends K>,? extends Value<? extends V>>> values)
          Construct a new instance.
MapValue(Value<? extends Map<K,V>> mapValue, MapEntry<? extends Value<? extends K>,? extends Value<? extends V>>... values)
          Construct a new instance.
MethodValue(Value<Method> methodValue, Value<?> targetValue, List<? extends Value<?>> parameters)
          Construct a new instance.
MethodValue(Value<Method> methodValue, Value<?> targetValue, List<? extends Value<?>> parameters)
          Construct a new instance.
SystemPropertyValue(String propertyName, AccessControlContext accessControlContext, Value<?> defaultValue)
          Construct a new instance.
SystemPropertyValue(String propertyName, Value<?> defaultValue)
          Construct a new instance.
 

Constructor parameters in org.jboss.msc.value with type arguments of type Value
ConstructedValue(Constructor<T> constructor, List<? extends Value<?>> parameters)
          Construct a new instance.
ListValue(List<? extends Value<? extends T>> values)
          Construct a new instance.
MapEntryValue(MapEntry<Value<K>,Value<V>> entry)
          Construct a new instance.
MapEntryValue(MapEntry<Value<K>,Value<V>> entry)
          Construct a new instance.
MapValue(Value<? extends Map<K,V>> mapValue, List<MapEntry<? extends Value<? extends K>,? extends Value<? extends V>>> values)
          Construct a new instance.
MapValue(Value<? extends Map<K,V>> mapValue, List<MapEntry<? extends Value<? extends K>,? extends Value<? extends V>>> values)
          Construct a new instance.
MethodValue(Value<Method> methodValue, Value<?> targetValue, List<? extends Value<?>> parameters)
          Construct a new instance.
SetValue(List<? extends Value<? extends T>> values)
          Construct a new instance.
 


JBoss Modular Service Kernel API 1.0.0.CR2

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