Class ContainerResourceConfig
- java.lang.Object
-
- javax.ws.rs.core.Application
-
- org.glassfish.jersey.server.ResourceConfig
-
- com.tangosol.coherence.rest.server.DefaultResourceConfig
-
- com.tangosol.coherence.rest.server.ContainerResourceConfig
-
- All Implemented Interfaces:
com.tangosol.coherence.http.HttpApplication
,javax.ws.rs.core.Configurable<org.glassfish.jersey.server.ResourceConfig>
,javax.ws.rs.core.Configuration
,org.glassfish.jersey.ExtendedConfig
,org.glassfish.jersey.server.ServerConfig
public class ContainerResourceConfig extends DefaultResourceConfig
An extension ofDefaultResourceConfig
that should be used for container deployments of Coherence REST.- Author:
- jh 2012.02.03
-
-
Constructor Summary
Constructors Constructor Description ContainerResourceConfig()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isRunningInContainer()
Return whether REST API is run inside the container (true) or standalone (false).-
Methods inherited from class com.tangosol.coherence.rest.server.DefaultResourceConfig
getExtensionsMap, registerContainerRequestFilters, registerContainerResponseFilters, registerProviders, registerResourceFilterFactories, registerRootResource, toString
-
Methods inherited from class org.glassfish.jersey.server.ResourceConfig
addProperties, files, files, forApplication, forApplicationClass, forApplicationClass, getApplication, getApplicationName, getClasses, getClassLoader, getConfiguration, getContracts, getInstances, getProperties, getProperty, getPropertyNames, getResources, getRuntimeType, getSingletons, isEnabled, isEnabled, isProperty, isRegistered, isRegistered, packages, packages, packages, property, register, register, register, register, register, register, register, register, registerClasses, registerClasses, registerFinder, registerInstances, registerInstances, registerResources, registerResources, setApplicationName, setClassLoader, setProperties
-
-
-
-
Method Detail
-
isRunningInContainer
protected boolean isRunningInContainer()
Description copied from class:DefaultResourceConfig
Return whether REST API is run inside the container (true) or standalone (false).- Overrides:
isRunningInContainer
in classDefaultResourceConfig
- Returns:
- whether REST API is run inside the container (true) or standalone (false)
-
-