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

public class ContainerResourceConfig extends DefaultResourceConfig
An extension of DefaultResourceConfig that should be used for container deployments of Coherence REST.
Author:
jh 2012.02.03
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    Return whether REST API is run inside the container (true) or standalone (false).

    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 class DefaultResourceConfig
      Returns:
      whether REST API is run inside the container (true) or standalone (false)