Class ResourceExtension
- java.lang.Object
-
- org.nuxeo.ecm.webengine.jaxrs.servlet.config.ResourceExtension
-
public class ResourceExtension extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringapplicationprotected Class<? extends BundleResource>clazzprotected Stringsegmentprotected Stringtarget
-
Constructor Summary
Constructors Constructor Description ResourceExtension()ResourceExtension(org.osgi.framework.Bundle bundle, Class<? extends BundleResource> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApplication()org.osgi.framework.BundlegetBundle()StringgetId()Class<? extends BundleResource>getResourceClass()StringgetSegment()StringgetTarget()voidsetApplication(String application)voidsetBundle(org.osgi.framework.Bundle bundle)voidsetSegment(String segment)voidsetTarget(String target)StringtoString()
-
-
-
Field Detail
-
clazz
protected Class<? extends BundleResource> clazz
-
target
protected String target
-
segment
protected String segment
-
application
protected String application
-
-
Constructor Detail
-
ResourceExtension
public ResourceExtension()
-
ResourceExtension
public ResourceExtension(org.osgi.framework.Bundle bundle, Class<? extends BundleResource> clazz)
-
-
Method Detail
-
setBundle
public void setBundle(org.osgi.framework.Bundle bundle)
-
getBundle
public org.osgi.framework.Bundle getBundle()
-
getTarget
public String getTarget()
-
getSegment
public String getSegment()
-
setTarget
public void setTarget(String target)
-
setSegment
public void setSegment(String segment)
-
getApplication
public String getApplication()
-
setApplication
public void setApplication(String application)
-
getResourceClass
public Class<? extends BundleResource> getResourceClass()
-
getId
public String getId()
-
-