Class Application

java.lang.Object
javax.ws.rs.core.Application
org.glassfish.jersey.server.ResourceConfig
com.atomgraph.core.Application
com.atomgraph.server.Application
All Implemented Interfaces:
com.atomgraph.core.model.Application, 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 Application extends com.atomgraph.core.Application
Author:
Martynas Jusevičius <martynas@atomgraph.com>
  • Constructor Summary

    Constructors
    Constructor
    Description
    Application(javax.servlet.ServletConfig servletConfig)
    Initializes root resource classes and provider singletons
    Application(org.apache.jena.query.Dataset dataset, String endpointURI, String graphStoreURI, String quadStoreURI, String authUser, String authPwd, com.atomgraph.core.MediaTypes mediaTypes, javax.ws.rs.client.Client client, Integer maxGetRequestSize, boolean cacheModelLoads, boolean preemptiveAuth, org.apache.jena.util.LocationMapper locationMapper, String ontologyURI, boolean cacheSitemap)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Initializes JAX-RS resource classes and providers.
    final boolean
     

    Methods inherited from class com.atomgraph.core.Application

    getClient, getClient, getDataManager, getDataset, getDataset, getMaxGetRequestSize, getMediaTypes, getService, isPreemptiveAuth

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Application

      public Application(@Context javax.servlet.ServletConfig servletConfig)
      Initializes root resource classes and provider singletons
      Parameters:
      servletConfig -
    • Application

      public Application(org.apache.jena.query.Dataset dataset, String endpointURI, String graphStoreURI, String quadStoreURI, String authUser, String authPwd, com.atomgraph.core.MediaTypes mediaTypes, javax.ws.rs.client.Client client, Integer maxGetRequestSize, boolean cacheModelLoads, boolean preemptiveAuth, org.apache.jena.util.LocationMapper locationMapper, String ontologyURI, boolean cacheSitemap)
  • Method Details

    • init

      @PostConstruct public void init()
      Initializes JAX-RS resource classes and providers.
      Overrides:
      init in class com.atomgraph.core.Application
    • getOntologyURI

      public String getOntologyURI()
    • isCacheSitemap

      public final boolean isCacheSitemap()