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 String
application
protected Class<? extends BundleResource>
clazz
protected String
segment
protected String
target
-
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 String
getApplication()
org.osgi.framework.Bundle
getBundle()
String
getId()
Class<? extends BundleResource>
getResourceClass()
String
getSegment()
String
getTarget()
void
setApplication(String application)
void
setBundle(org.osgi.framework.Bundle bundle)
void
setSegment(String segment)
void
setTarget(String target)
String
toString()
-
-
-
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()
-
-