public abstract class OslcWinkApplication
extends org.apache.wink.common.WinkApplication
WinkApplication and supports a generic ResourceShape JAX-RS resource.| Modifier and Type | Field and Description |
|---|---|
protected Set<Object> |
instances |
protected Set<Class<?>> |
resourceClasses |
| Constructor and Description |
|---|
OslcWinkApplication(Set<Class<?>> resourceClasses,
String resourceShapesPath) |
OslcWinkApplication(Set<Class<?>> resourceClasses,
String resourceShapesPath,
Map<String,Class<?>> resourcePathToResourceClassMap) |
| Modifier and Type | Method and Description |
|---|---|
Set<Class<?>> |
getClasses() |
Set<Object> |
getInstances() |
double |
getPriority() |
public OslcWinkApplication(Set<Class<?>> resourceClasses, String resourceShapesPath, Map<String,Class<?>> resourcePathToResourceClassMap) throws OslcCoreApplicationException, URISyntaxException
resourceClasses - The set of resource classes to be exposed via Application.getClasses().resourceShapesPath - The JAX-RS path to the resource shapes resource.resourcePathToResourceClassMap - A mapping from a resource path to its related Java bean.URISyntaxExceptionOslcCoreApplicationExceptionpublic OslcWinkApplication(Set<Class<?>> resourceClasses, String resourceShapesPath) throws OslcCoreApplicationException, URISyntaxException
public final Set<Class<?>> getClasses()
getClasses in class org.apache.wink.common.WinkApplicationpublic final Set<Object> getInstances()
getInstances in class org.apache.wink.common.WinkApplicationpublic final double getPriority()
getPriority in class org.apache.wink.common.WinkApplicationCopyright © 2016. All rights reserved.