public class TypeRegistry extends AbstractContributionRegistry<String,TypeDescriptor>
Constructor and Description |
---|
TypeRegistry(TypeRegistry parent,
WebEngine engine,
ModuleImpl module) |
TypeRegistry(WebEngine engine,
ModuleImpl module) |
Modifier and Type | Method and Description |
---|---|
AdapterType |
getAdapter(Resource target,
String name) |
AdapterType |
getAdapter(String name) |
List<String> |
getAdapterNames(Resource resource) |
AdapterType[] |
getAdapters() |
List<AdapterType> |
getAdapters(Resource resource) |
List<String> |
getEnabledAdapterNames(Resource resource) |
List<AdapterType> |
getEnabledAdapters(Resource resource) |
ModuleImpl |
getModule() |
ResourceType |
getRootType() |
ResourceType |
getType(String name) |
ResourceType[] |
getTypes() |
void |
registerAdapter(AdapterDescriptor td) |
void |
registerType(TypeDescriptor td) |
void |
registerTypeDescriptor(TypeDescriptor td) |
void |
unregisterAdapter(TypeDescriptor td) |
void |
unregisterType(TypeDescriptor td) |
addFragment, dispose, fireResolved, fireUnresolved, fireUpdated, getContribution, getObject, getOrCreateDependency, getParent, removeContribution, removeFragment
public TypeRegistry(TypeRegistry parent, WebEngine engine, ModuleImpl module)
public TypeRegistry(WebEngine engine, ModuleImpl module)
public ResourceType getRootType()
public ModuleImpl getModule()
public ResourceType getType(String name)
public AdapterType getAdapter(String name)
public AdapterType getAdapter(Resource target, String name)
public List<AdapterType> getAdapters(Resource resource)
public List<AdapterType> getEnabledAdapters(Resource resource)
public ResourceType[] getTypes()
public AdapterType[] getAdapters()
public void registerTypeDescriptor(TypeDescriptor td)
public void registerType(TypeDescriptor td)
public void registerAdapter(AdapterDescriptor td)
public void unregisterType(TypeDescriptor td)
public void unregisterAdapter(TypeDescriptor td)
Copyright © 2015 Nuxeo SA. All rights reserved.