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>
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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(java.lang.String id)
removeType
public Type removeType(java.lang.String id)
getTypes
public java.util.Collection<Type> getTypes()
getType
public Type getType(java.lang.String id)
mergeTypes
public static Type mergeTypes(Type oldType,
Type newType)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.