Package | Description |
---|---|
org.apache.reef.tang |
Public interfaces and factories for Tang's core API.
|
org.apache.reef.tang.implementation |
Tang's implementation.
|
org.apache.reef.tang.implementation.java |
Private implementation classes that configure and inject code written
in Java.
|
org.apache.reef.tang.implementation.protobuf |
Implementation classes that translate between Tang's core API and protocol
buffers.
|
org.apache.reef.tang.util.walk |
Utility classes for configuration graph and injection plan traversal.
|
org.apache.reef.tang.util.walk.graphviz |
produce Graphviz representation of TANG configuration graph and injection plan.
|
Modifier and Type | Method and Description |
---|---|
<T> InjectionPlan<T> |
Injector.getInjectionPlan(Class<T> name) |
InjectionPlan<?> |
Injector.getInjectionPlan(String name) |
Modifier and Type | Class and Description |
---|---|
class |
Constructor<T> |
class |
InjectionFuturePlan<T> |
class |
ListInjectionPlan<T> |
class |
SetInjectionPlan<T> |
class |
Subplan<T> |
Modifier and Type | Method and Description |
---|---|
InjectionPlan<?>[] |
Constructor.getArgs() |
InjectionPlan<? extends T> |
Subplan.getDelegatedPlan() |
InjectionPlan<?>[] |
Subplan.getPlans() |
Modifier and Type | Method and Description |
---|---|
Collection<InjectionPlan<?>> |
Subplan.getChildren()
Get child elements of the injection plan tree.
|
Collection<InjectionPlan<?>> |
InjectionPlan.getChildren()
Get child elements of the injection plan tree.
|
Collection<InjectionPlan<?>> |
Constructor.getChildren()
Get child elements of the injection plan tree.
|
Set<InjectionPlan<T>> |
SetInjectionPlan.getEntryPlans() |
List<InjectionPlan<T>> |
ListInjectionPlan.getEntryPlans() |
Constructor and Description |
---|
Constructor(ClassNode<T> classNode,
ConstructorDef<T> constructor,
InjectionPlan<?>[] args) |
Subplan(Node node,
InjectionPlan<T>... alternatives) |
Subplan(Node node,
int selectedIndex,
InjectionPlan<T>... alternatives) |
Constructor and Description |
---|
ListInjectionPlan(Node name,
List<InjectionPlan<T>> entries) |
SetInjectionPlan(Node name,
Set<InjectionPlan<T>> entries) |
Modifier and Type | Class and Description |
---|---|
class |
JavaInstance<T> |
Modifier and Type | Method and Description |
---|---|
<T> InjectionPlan<T> |
InjectorImpl.getInjectionPlan(Class<T> name) |
InjectionPlan<?> |
InjectorImpl.getInjectionPlan(Node n)
Return an injection plan for the given class / parameter name.
|
InjectionPlan<?> |
InjectorImpl.getInjectionPlan(String name) |
Modifier and Type | Method and Description |
---|---|
<T> InjectionPlan<T> |
ProtocolBufferInjectionPlan.deserialize(ClassHierarchy ch,
InjectionPlanProto.InjectionPlan ip) |
Modifier and Type | Method and Description |
---|---|
<T> InjectionPlanProto.InjectionPlan |
ProtocolBufferInjectionPlan.serialize(InjectionPlan<T> ip) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractInjectionPlanNodeVisitor.visit(InjectionPlan<?> node)
Manually dispatch between different types of injection plan objects and call proper
visit() method.
|
Modifier and Type | Method and Description |
---|---|
static String |
GraphvizInjectionPlanVisitor.getGraphvizString(InjectionPlan<?> injectionPlan,
boolean showLegend)
Produce a Graphviz DOT string for a given TANG injection plan.
|
boolean |
GraphvizInjectionPlanVisitor.visit(InjectionPlan<?> nodeFrom,
InjectionPlan<?> nodeTo)
Process current edge of the injection plan.
|
boolean |
GraphvizInjectionPlanVisitor.visit(InjectionPlan<?> nodeFrom,
InjectionPlan<?> nodeTo)
Process current edge of the injection plan.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.