public final class TypeRegistry extends Object implements Registrable
Constructor and Description |
---|
TypeRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
This method is called when the object is unregistered.
|
List<String> |
getTypeNames(TypeFamily typeFamily) |
List<Type> |
getTypes(TypeFamily typeFamily) |
Type |
lookup(TypeFamily typeFamily,
String... names) |
Type |
lookup(TypeFamily typeFamily,
String name) |
void |
register(Type type) |
void |
unregister(Type type) |
public TypeRegistry()
public void unregister(Type type)
public Type lookup(TypeFamily typeFamily, String name)
public Type lookup(TypeFamily typeFamily, String... names)
public List<String> getTypeNames(TypeFamily typeFamily)
public List<Type> getTypes(TypeFamily typeFamily)
public void clear()
Registrable
clear
in interface Registrable
Copyright © 2015 Nuxeo SA. All rights reserved.