public final class PersistorRegistry
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
add(EncogPersistor persistor)
Add a persistor.
|
static PersistorRegistry |
getInstance() |
EncogPersistor |
getPersistor(java.lang.Class<?> clazz)
Get a persistor.
|
EncogPersistor |
getPersistor(java.lang.String name)
Get the persistor by name.
|
public static PersistorRegistry getInstance()
public void add(EncogPersistor persistor)
persistor - The persistor to add.public EncogPersistor getPersistor(java.lang.Class<?> clazz)
clazz - The class to get the persistor for.public EncogPersistor getPersistor(java.lang.String name)
name - The name of the persistor.