public class GLPipelineFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
| Constructor and Description |
|---|
GLPipelineFactory() |
| Modifier and Type | Method and Description |
|---|---|
static GL |
create(String pipelineClazzBaseName,
Class<?> reqInterface,
GL downstream,
Object[] additionalArgs)
Creates a pipelined GL instance using the given downstream
downstream
and optional arguments additionalArgs for the constructor.The upstream GL instance is determined as follows: Use pipelineClazzBaseName as the class name's full basename, incl. |
public static final GL create(String pipelineClazzBaseName, Class<?> reqInterface, GL downstream, Object[] additionalArgs)
downstream
and optional arguments additionalArgs for the constructor.pipelineClazzBaseName as the class name's full basename, incl. package namedownstream class and it's superclasses, do:downstream class and superclass interfaces, do:reqInterface is not null and the interface is unequal, continue loop.downstream is not instance of interface, continue loop.pipelineClazzBaseName - the basename of the pipline class namereqInterface - optional requested interface to be used, may be null, in which case the first matching one is useddownstream - is always the 1st argument for the upstream constructoradditionalArgs - additional arguments for the upstream constructorCopyright 2010 JogAmp Community.