public class ChainBuilderImpl extends java.lang.Object implements ChainBuilder
Constructor and Description |
---|
ChainBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
buildImplementation(java.lang.Class commandInterface,
java.util.List commands,
java.lang.String toString)
Builds an implementation.
|
void |
setClassFactory(org.apache.hivemind.service.ClassFactory classFactory) |
void |
setClassResolver(org.apache.hivemind.ClassResolver classResolver) |
public ChainBuilderImpl()
public java.lang.Object buildImplementation(java.lang.Class commandInterface, java.util.List commands, java.lang.String toString)
ChainBuilder
buildImplementation
in interface ChainBuilder
commandInterface
- the interface the implementation implements.commands
- a non-null list of command objects implementing the interface.toString
- The value to be returned from the implementation's toString()
method (unless toString()
is expressly part of the service
interface, in which case it is treated as any other method.public void setClassFactory(org.apache.hivemind.service.ClassFactory classFactory)
public void setClassResolver(org.apache.hivemind.ClassResolver classResolver)