Package | Description |
---|---|
org.apache.reef.tang |
Public interfaces and factories for Tang's core API.
|
org.apache.reef.tang.examples |
Example code from the tutorial on Tang's home page.
|
org.apache.reef.tang.examples.timer |
A more complicated version of the Timer example, including delegating
interfaces to default implementations.
|
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 |
---|---|
<U> U |
Injector.getInstance(Class<U> iface)
Gets an instance of iface, or the implementation that has been bound to it.
|
<U> U |
Injector.getInstance(String iface)
Gets an instance of iface, or the implementation that has been bound to it.
|
<U> U |
Injector.getNamedInstance(Class<? extends Name<U>> iface)
Gets the value stored for the given named parameter.
|
Modifier and Type | Method and Description |
---|---|
static void |
TimerV1.main(String[] args) |
static void |
PrintTypeHierarchy.main(String[] args) |
Modifier and Type | Method and Description |
---|---|
static void |
TimerMock.main(String[] args) |
Modifier and Type | Method and Description |
---|---|
<U> U |
InjectorImpl.getInstance(Class<U> clazz) |
<U> U |
InjectorImpl.getInstance(String clazz) |
<T> T |
InjectorImpl.getNamedInstance(Class<? extends Name<T>> clazz) |
<T> T |
InjectorImpl.getNamedParameter(Class<? extends Name<T>> clazz) |
Modifier and Type | Method and Description |
---|---|
static void |
ValidateConfiguration.main(String[] argv) |
void |
ValidateConfiguration.validatePlan() |
Copyright © 2017 The Apache Software Foundation. All rights reserved.