Class ContainerResourceConfig
java.lang.Object
jakarta.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
,jakarta.ws.rs.core.Configurable<org.glassfish.jersey.server.ResourceConfig>
,jakarta.ws.rs.core.Configuration
,org.glassfish.jersey.ExtendedConfig
,org.glassfish.jersey.server.ServerConfig
An extension of
DefaultResourceConfig
that should be used for
container deployments of Coherence REST.- Author:
- jh 2012.02.03
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
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, getApplicationPath, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.tangosol.coherence.http.HttpApplication
configure, getPath
-
Constructor Details
-
ContainerResourceConfig
public ContainerResourceConfig()Default constructor.
-
-
Method Details
-
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)
-