public class AdapterTypeImpl extends AbstractResourceType implements AdapterType
Modifier and Type | Field and Description |
---|---|
protected String |
adapterName |
protected String[] |
targetFacets |
protected String |
targetType |
clazz, constructor, engine, facets, guard, name, owner, superType, templateCache, visibility
ROOT_TYPE_NAME
Constructor and Description |
---|
AdapterTypeImpl(WebEngine engine,
ModuleImpl module,
ResourceTypeImpl superType,
String name,
String adapterName,
ClassProxy clazz,
com.sun.jersey.server.spi.component.ResourceComponentConstructor constructor,
int visibility) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptResource(Resource resource) |
boolean |
acceptType(ResourceType type) |
String |
getAdapterName() |
String[] |
getTargetFacets() |
String |
getTargetType() |
protected void |
loadAnnotations(AnnotationManager annoMgr) |
findSkinTemplate, findTypeTemplate, findView, flushCache, getFacets, getGuard, getName, getOwnerModule, getResourceClass, getSuperType, getView, getVisibility, hasFacet, isDerivedFrom, isEnabled, loadGuardFromAnnoation, newInstance, resolveResourcePath, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
flushCache, getFacets, getGuard, getName, getResourceClass, getSuperType, getView, hasFacet, isDerivedFrom, isEnabled, newInstance
protected String targetType
protected String[] targetFacets
protected final String adapterName
public AdapterTypeImpl(WebEngine engine, ModuleImpl module, ResourceTypeImpl superType, String name, String adapterName, ClassProxy clazz, com.sun.jersey.server.spi.component.ResourceComponentConstructor constructor, int visibility)
public String getAdapterName()
getAdapterName
in interface AdapterType
public String getTargetType()
getTargetType
in interface AdapterType
public String[] getTargetFacets()
getTargetFacets
in interface AdapterType
public boolean acceptResource(Resource resource)
acceptResource
in interface AdapterType
public boolean acceptType(ResourceType type)
protected void loadAnnotations(AnnotationManager annoMgr)
loadAnnotations
in class AbstractResourceType
Copyright © 2017 Nuxeo. All rights reserved.