Package | Description |
---|---|
org.apache.reef.tang |
Public interfaces and factories for Tang's core API.
|
org.apache.reef.tang.examples.timer |
A more complicated version of the Timer example, including delegating
interfaces to default implementations.
|
org.apache.reef.tang.formats |
Tang format classes encode and decode information that Tang gathers at
runtime.
|
org.apache.reef.tang.implementation.java |
Private implementation classes that configure and inject code written
in Java.
|
org.apache.reef.tang.util |
Miscellaneous utilities, including command line static analysis (Tint), data structures and reflection stuff.
|
Modifier and Type | Method and Description |
---|---|
<T> JavaConfigurationBuilder |
JavaConfigurationBuilder.bindList(Class<? extends Name<List<T>>> iface,
List impl)
Binds a specfic list to a named parameter.
|
JavaConfigurationBuilder |
JavaConfigurationBuilder.bindNamedParameter(Class<? extends Name<?>> name,
String value)
Set the value of a named parameter.
|
<T> JavaConfigurationBuilder |
JavaConfigurationBuilder.bindNamedParameter(Class<? extends Name<T>> iface,
Class<? extends T> impl) |
<T> JavaConfigurationBuilder |
JavaConfigurationBuilder.bindSetEntry(Class<? extends Name<Set<T>>> iface,
Class<? extends T> impl) |
<T> JavaConfigurationBuilder |
JavaConfigurationBuilder.bindSetEntry(Class<? extends Name<Set<T>>> iface,
String value) |
<T> void |
Injector.bindVolatileParameter(Class<? extends Name<T>> iface,
T inst) |
<U> U |
Injector.getNamedInstance(Class<? extends Name<U>> iface)
Gets the value stored for the given named parameter.
|
boolean |
Injector.isParameterSet(Class<? extends Name<?>> name) |
Modifier and Type | Class and Description |
---|---|
static class |
Timer.Seconds |
Modifier and Type | Method and Description |
---|---|
<T> ConfigurationModuleBuilder |
ConfigurationModuleBuilder.bindList(Class<? extends Name<List<T>>> iface,
Impl<List> opt) |
<T> ConfigurationModuleBuilder |
ConfigurationModuleBuilder.bindList(Class<? extends Name<List<T>>> iface,
List list) |
<T> ConfigurationModuleBuilder |
ConfigurationModuleBuilder.bindList(Class<? extends Name<List<T>>> iface,
Param<List> opt) |
<T> ConfigurationModuleBuilder |
ConfigurationModuleBuilder.bindNamedParameter(Class<? extends Name<T>> iface,
Class<? extends T> impl) |
<T> ConfigurationModuleBuilder |
ConfigurationModuleBuilder.bindNamedParameter(Class<? extends Name<T>> iface,
Impl<? extends T> opt) |
<T> ConfigurationModuleBuilder |
ConfigurationModuleBuilder.bindNamedParameter(Class<? extends Name<T>> name,
Param<T> opt) |
<T> ConfigurationModuleBuilder |
ConfigurationModuleBuilder.bindNamedParameter(Class<? extends Name<T>> name,
String value) |
<T> ConfigurationModuleBuilder |
ConfigurationModuleBuilder.bindSetEntry(Class<? extends Name<Set<T>>> iface,
Class<? extends T> impl) |
<T> ConfigurationModuleBuilder |
ConfigurationModuleBuilder.bindSetEntry(Class<? extends Name<Set<T>>> iface,
Impl<? extends T> opt) |
<T> ConfigurationModuleBuilder |
ConfigurationModuleBuilder.bindSetEntry(Class<? extends Name<Set<T>>> iface,
Param<? extends T> opt) |
<T> ConfigurationModuleBuilder |
ConfigurationModuleBuilder.bindSetEntry(Class<? extends Name<Set<T>>> iface,
String impl) |
CommandLine |
CommandLine.registerShortNameOfClass(Class<? extends Name<?>> c) |
Modifier and Type | Method and Description |
---|---|
<T> JavaConfigurationBuilder |
JavaConfigurationBuilderImpl.bindList(Class<? extends Name<List<T>>> iface,
List implList)
Binding list method for JavaConfigurationBuilder.
|
JavaConfigurationBuilder |
JavaConfigurationBuilderImpl.bindNamedParameter(Class<? extends Name<?>> name,
String value) |
<T> JavaConfigurationBuilder |
JavaConfigurationBuilderImpl.bindNamedParameter(Class<? extends Name<T>> iface,
Class<? extends T> impl) |
<T> JavaConfigurationBuilder |
JavaConfigurationBuilderImpl.bindSetEntry(Class<? extends Name<Set<T>>> iface,
Class<? extends T> impl) |
<T> JavaConfigurationBuilder |
JavaConfigurationBuilderImpl.bindSetEntry(Class<? extends Name<Set<T>>> iface,
String value) |
<T> void |
InjectorImpl.bindVolatileParameter(Class<? extends Name<T>> cl,
T o) |
static <T> NamedParameterNode<T> |
JavaNodeFactory.createNamedParameterNode(Node parent,
Class<? extends Name<T>> clazz,
Type argClass)
XXX: This method assumes that all generic types have exactly one type parameter.
|
<T> T |
InjectorImpl.getNamedInstance(Class<? extends Name<T>> clazz) |
<T> T |
InjectorImpl.getNamedParameter(Class<? extends Name<T>> clazz) |
boolean |
InjectorImpl.isParameterSet(Class<? extends Name<?>> name) |
Modifier and Type | Class and Description |
---|---|
class |
ValidateConfiguration.ClassHierarchyIn |
class |
ValidateConfiguration.ConfigurationIn |
class |
ValidateConfiguration.ConfigurationOut |
class |
ValidateConfiguration.Target |
Copyright © 2015 The Apache Software Foundation. All rights reserved.