Package com.atomgraph.server
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
ConstructorsConstructorDescriptionApplication(javax.servlet.ServletConfig servletConfig) Initializes root resource classes and provider singletonsApplication(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 TypeMethodDescriptionvoidinit()Initializes JAX-RS resource classes and providers.final booleanMethods inherited from class com.atomgraph.core.Application
getClient, getClient, getDataManager, getDataset, getDataset, getMaxGetRequestSize, getMediaTypes, getService, isPreemptiveAuthMethods 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
-
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:
initin classcom.atomgraph.core.Application
-
getOntologyURI
-
isCacheSitemap
public final boolean isCacheSitemap()
-