public class ApplicationServlet
extends org.apache.wink.server.internal.servlet.RestServlet
implements org.eclipse.core.runtime.IExecutableExtension
The required init-params
are:
javax.ws.rs.Application
:
the value is the qualified name of a class implementing javax.ws.rs.core.Application
.
Implementation is recommended to extend com.sodius.oslc.core.application.DefaultWinkApplication
.
The implementation class must reside in the plug-in declaring the servlet extension.
This class requires OSGi to be running.
DefaultWinkApplication
,
Serialized FormConstructor and Description |
---|
ApplicationServlet() |
Modifier and Type | Method and Description |
---|---|
protected Application |
getApplication(org.apache.wink.server.internal.DeploymentConfiguration configuration) |
void |
setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
String propertyName,
Object data) |
createDeploymentConfiguration, createRequestProcessor, destroy, getApplication, getDeploymentConfiguration, getProperties, init, service
getRequestProcessor, storeRequestProcessorOnServletContext
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config, String propertyName, Object data) throws org.eclipse.core.runtime.CoreException
setInitializationData
in interface org.eclipse.core.runtime.IExecutableExtension
org.eclipse.core.runtime.CoreException
protected Application getApplication(org.apache.wink.server.internal.DeploymentConfiguration configuration) throws ClassNotFoundException, InstantiationException, IllegalAccessException
getApplication
in class org.apache.wink.server.internal.servlet.RestServlet
ClassNotFoundException
InstantiationException
IllegalAccessException