public class RegisterImpl extends Object implements Register
Constructor and Description |
---|
RegisterImpl(String name,
String description) |
Modifier and Type | Method and Description |
---|---|
DataFactoryUnit |
create(String name,
DataParameters parameters,
Services services) |
boolean |
exits(String name) |
DataFactory |
getFactory(String name) |
List<String> |
getFactoryNames() |
Iterator<DataFactory> |
iterator() |
void |
register(DataFactory factory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public void register(DataFactory factory)
public DataFactory getFactory(String name)
getFactory
in interface Register
public DataFactoryUnit create(String name, DataParameters parameters, Services services) throws ProviderNotRegisteredException, InitializeException
create
in interface Register
ProviderNotRegisteredException
InitializeException
public List<String> getFactoryNames()
getFactoryNames
in interface Register
public Iterator<DataFactory> iterator()
iterator
in interface Iterable<DataFactory>
iterator
in interface Register