org.nuxeo.ecm.platform.types
Class TypeRegistry
java.lang.Object
org.nuxeo.runtime.model.ExtensionRegistry<Type>
org.nuxeo.ecm.platform.types.TypeRegistry
public class TypeRegistry
- extends ExtensionRegistry<Type>
TypeRegistry
public TypeRegistry()
removeContributions
public void removeContributions()
- Description copied from class:
ExtensionRegistry
- Remove all registered contributions. This method will be called by
unregisterExtension to reset the registry so that remaining contributions
are registered again
- Specified by:
removeContributions
in class ExtensionRegistry<Type>
addContribution
public void addContribution(Type contrib,
Extension extension)
- Specified by:
addContribution
in class ExtensionRegistry<Type>
addType
public void addType(Type type)
hasType
public boolean hasType(String id)
removeType
public Type removeType(String id)
getTypes
public Collection<Type> getTypes()
getType
public Type getType(String id)
mergeTypes
public static Type mergeTypes(Type oldType,
Type newType)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.