org.apache.stanbol.commons.web.sparql
Class SparqlEndpointWebFragment
java.lang.Object
org.apache.stanbol.commons.web.sparql.SparqlEndpointWebFragment
- All Implemented Interfaces:
- WebFragment
@Service
@References(value={})
public class SparqlEndpointWebFragment- extends java.lang.Object
- implements WebFragment
Statically define the list of available resources and providers to be contributed to the the Stanbol JAX-RS
Endpoint.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SparqlEndpointWebFragment
public SparqlEndpointWebFragment()
getName
public java.lang.String getName()
- Specified by:
getName in interface WebFragment
activate
@Activate
protected void activate(org.osgi.service.component.ComponentContext ctx)
getJaxrsResourceClasses
public java.util.Set<java.lang.Class<?>> getJaxrsResourceClasses()
- Specified by:
getJaxrsResourceClasses in interface WebFragment
getJaxrsResourceSingletons
public java.util.Set<java.lang.Object> getJaxrsResourceSingletons()
- Specified by:
getJaxrsResourceSingletons in interface WebFragment
getStaticResourceClassPath
public java.lang.String getStaticResourceClassPath()
- Specified by:
getStaticResourceClassPath in interface WebFragment
getTemplateLoader
public freemarker.cache.TemplateLoader getTemplateLoader()
- Specified by:
getTemplateLoader in interface WebFragment
getLinkResources
public java.util.List<LinkResource> getLinkResources()
- Specified by:
getLinkResources in interface WebFragment
getScriptResources
public java.util.List<ScriptResource> getScriptResources()
- Specified by:
getScriptResources in interface WebFragment
getNavigationLinks
public java.util.List<NavigationLink> getNavigationLinks()
- Specified by:
getNavigationLinks in interface WebFragment
getBundleContext
public org.osgi.framework.BundleContext getBundleContext()
- Specified by:
getBundleContext in interface WebFragment
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.