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.implementation.types |
Implementations of the ClassHierarchy type system.
|
org.apache.reef.tang.types |
The interfaces that define Tang's ClassHierarchy objects.
|
org.apache.reef.tang.util |
Utilities for Tang.
|
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> ClassNode<ExternalConstructor<T>> |
Configuration.getBoundConstructor(ClassNode<T> cn)
Return the bound constructor.
|
<T> ClassNode<T> |
Configuration.getBoundImplementation(ClassNode<T> cn)
Returns the bound implementation.
|
Modifier and Type | Method and Description |
---|---|
Set<ClassNode<?>> |
Configuration.getBoundConstructors() |
Set<ClassNode<?>> |
Configuration.getBoundImplementations() |
Set<ClassNode<?>> |
Configuration.getLegacyConstructors() |
Modifier and Type | Method and Description |
---|---|
<T> void |
ConfigurationBuilder.bindConstructor(ClassNode<T> iface,
ClassNode<? extends ExternalConstructor<? extends T>> impl)
Register an ExternalConstructor implementation with Tang.
|
<T> void |
ConfigurationBuilder.bindConstructor(ClassNode<T> iface,
ClassNode<? extends ExternalConstructor<? extends T>> impl)
Register an ExternalConstructor implementation with Tang.
|
<T> ClassNode<ExternalConstructor<T>> |
Configuration.getBoundConstructor(ClassNode<T> cn)
Return the bound constructor.
|
<T> ClassNode<T> |
Configuration.getBoundImplementation(ClassNode<T> cn)
Returns the bound implementation.
|
<T> ConstructorDef<T> |
Configuration.getLegacyConstructor(ClassNode<T> cn)
Return the LegacyConstructor that has been bound to this Class.
|
boolean |
ClassHierarchy.isImplementation(ClassNode<?> inter,
ClassNode<?> impl)
Return whether the impl is a subclass of inter.
|
boolean |
ClassHierarchy.isImplementation(ClassNode<?> inter,
ClassNode<?> impl)
Return whether the impl is a subclass of inter.
|
void |
ConfigurationBuilder.registerLegacyConstructor(ClassNode<?> cn,
ClassNode<?>... args)
Force Tang to treat the specified constructor as though it had an @Inject
annotation.
|
void |
ConfigurationBuilder.registerLegacyConstructor(ClassNode<?> cn,
ClassNode<?>... args)
Force Tang to treat the specified constructor as though it had an @Inject
annotation.
|
void |
ConfigurationBuilder.registerLegacyConstructor(ClassNode<?> c,
ConstructorArg... args)
Force Tang to treat the specified constructor as though it had an @Inject
annotation.
|
Modifier and Type | Method and Description |
---|---|
<T> ClassNode<ExternalConstructor<T>> |
ConfigurationImpl.getBoundConstructor(ClassNode<T> cn) |
<T> ClassNode<T> |
ConfigurationImpl.getBoundImplementation(ClassNode<T> cn) |
ClassNode<T> |
Constructor.getNode() |
Modifier and Type | Method and Description |
---|---|
Set<ClassNode<?>> |
ConfigurationImpl.getBoundConstructors() |
Set<ClassNode<?>> |
ConfigurationImpl.getBoundImplementations() |
Set<ClassNode<?>> |
ConfigurationImpl.getLegacyConstructors() |
Modifier and Type | Method and Description |
---|---|
<T> void |
ConfigurationBuilderImpl.bindConstructor(ClassNode<T> k,
ClassNode<? extends ExternalConstructor<? extends T>> v) |
<T> void |
ConfigurationBuilderImpl.bindConstructor(ClassNode<T> k,
ClassNode<? extends ExternalConstructor<? extends T>> v) |
<T> void |
ConfigurationBuilderImpl.bindImplementation(ClassNode<T> n,
ClassNode<? extends T> m) |
<T> void |
ConfigurationBuilderImpl.bindImplementation(ClassNode<T> n,
ClassNode<? extends T> m) |
<T> ClassNode<ExternalConstructor<T>> |
ConfigurationImpl.getBoundConstructor(ClassNode<T> cn) |
<T> ClassNode<T> |
ConfigurationImpl.getBoundImplementation(ClassNode<T> cn) |
<T> ConstructorDef<T> |
ConfigurationImpl.getLegacyConstructor(ClassNode<T> cn) |
void |
ConfigurationBuilderImpl.registerLegacyConstructor(ClassNode<?> cn,
ClassNode<?>... args) |
void |
ConfigurationBuilderImpl.registerLegacyConstructor(ClassNode<?> cn,
ClassNode<?>... args) |
void |
ConfigurationBuilderImpl.registerLegacyConstructor(ClassNode<?> c,
ConstructorArg... args) |
Constructor and Description |
---|
Constructor(ClassNode<T> classNode,
ConstructorDef<T> constructor,
InjectionPlan<?>[] args) |
Modifier and Type | Method and Description |
---|---|
boolean |
ClassHierarchyImpl.isImplementation(ClassNode<?> inter,
ClassNode<?> impl) |
boolean |
ClassHierarchyImpl.isImplementation(ClassNode<?> inter,
ClassNode<?> impl) |
Modifier and Type | Method and Description |
---|---|
boolean |
ProtocolBufferClassHierarchy.isImplementation(ClassNode<?> inter,
ClassNode<?> impl)
Deprecated.
|
boolean |
ProtocolBufferClassHierarchy.isImplementation(ClassNode<?> inter,
ClassNode<?> impl)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassNodeImpl<T> |
Modifier and Type | Method and Description |
---|---|
Set<ClassNode<T>> |
ClassNodeImpl.getKnownImplementations() |
Modifier and Type | Method and Description |
---|---|
ConstructorDef<T> |
ClassNodeImpl.getConstructorDef(ClassNode<?>... paramTypes) |
boolean |
ClassNodeImpl.isImplementationOf(ClassNode<?> inter) |
void |
ClassNodeImpl.putImpl(ClassNode<T> impl) |
boolean |
ConstructorDefImpl.takesParameters(ClassNode<?>[] paramTypes) |
Modifier and Type | Method and Description |
---|---|
Set<ClassNode<T>> |
ClassNode.getKnownImplementations() |
Modifier and Type | Method and Description |
---|---|
ConstructorDef<T> |
ClassNode.getConstructorDef(ClassNode<?>... args) |
boolean |
ClassNode.isImplementationOf(ClassNode<?> inter) |
void |
ClassNode.putImpl(ClassNode<T> impl) |
boolean |
ConstructorDef.takesParameters(ClassNode<?>[] paramTypes) |
Modifier and Type | Method and Description |
---|---|
String |
Tint.toHtmlString(ClassNode<?> n,
String pack) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
AbstractClassHierarchyNodeVisitor.visit(ClassNode<?> node)
Process current configuration node of ClassNode type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GraphvizConfigVisitor.visit(ClassNode<?> node)
Process current class configuration node.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.