T
- the specialized assembler typepublic abstract class PythonBaseFactory<T extends Assembler> extends Object implements AssemblerFactory<T>
Modifier and Type | Field and Description |
---|---|
static String |
PYTHON_CONFIG_FILE
Global config file.
|
static String |
PYTHON_PATH
Key for the python path
|
Constructor and Description |
---|
PythonBaseFactory() |
Modifier and Type | Method and Description |
---|---|
T |
getAssembler(String subDirectory,
String name)
Get an Assembler.
|
int |
getCacheSize()
Get the size of a possibly configured cache
|
abstract Loader<T> |
getLoader()
Get the loader for this type of assembler
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getManagedClass
getAssembler
public static final String PYTHON_PATH
public static final String PYTHON_CONFIG_FILE
public PythonBaseFactory()
public T getAssembler(String subDirectory, String name) throws Exception
subDirectory
- subdirectory within python.pathname
- name of the requested AssemblerException
- generic exceptionpublic abstract Loader<T> getLoader()
getLoader
in interface AssemblerFactory<T extends Assembler>
public int getCacheSize()
getCacheSize
in interface Loader<T extends Assembler>
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.