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 org.eclipse.lyo.oslc4j.core.exception.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.URISyntaxException
org.eclipse.lyo.oslc4j.core.exception.OslcCoreApplicationException
public OslcWinkApplication(Set<Class<?>> resourceClasses, String resourceShapesPath) throws org.eclipse.lyo.oslc4j.core.exception.OslcCoreApplicationException, URISyntaxException
org.eclipse.lyo.oslc4j.core.exception.OslcCoreApplicationException
URISyntaxException
public final Set<Class<?>> getClasses()
getClasses
in class org.apache.wink.common.WinkApplication
public final Set<Object> getInstances()
getInstances
in class org.apache.wink.common.WinkApplication
public final double getPriority()
getPriority
in class org.apache.wink.common.WinkApplication
Copyright © 2018. All Rights Reserved.