org.apache.stanbol.commons.web.sparql
Class SparqlEndpointWebFragment

java.lang.Object
  extended by org.apache.stanbol.commons.web.sparql.SparqlEndpointWebFragment
All Implemented Interfaces:
org.apache.stanbol.commons.web.base.WebFragment

@Service
@References(value={})
public class SparqlEndpointWebFragment
extends Object
implements org.apache.stanbol.commons.web.base.WebFragment

Statically define the list of available resources and providers to be contributed to the the Stanbol JAX-RS Endpoint.


Constructor Summary
SparqlEndpointWebFragment()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext ctx)
           
 Set<Class<?>> getJaxrsResourceClasses()
           
 Set<Object> getJaxrsResourceSingletons()
           
 List<org.apache.stanbol.commons.web.base.LinkResource> getLinkResources()
           
 String getName()
           
 List<org.apache.stanbol.commons.web.base.NavigationLink> getNavigationLinks()
           
 List<org.apache.stanbol.commons.web.base.ScriptResource> getScriptResources()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparqlEndpointWebFragment

public SparqlEndpointWebFragment()
Method Detail

getName

public String getName()
Specified by:
getName in interface org.apache.stanbol.commons.web.base.WebFragment

activate

@Activate
protected void activate(org.osgi.service.component.ComponentContext ctx)

getJaxrsResourceClasses

public Set<Class<?>> getJaxrsResourceClasses()
Specified by:
getJaxrsResourceClasses in interface org.apache.stanbol.commons.web.base.WebFragment

getJaxrsResourceSingletons

public Set<Object> getJaxrsResourceSingletons()
Specified by:
getJaxrsResourceSingletons in interface org.apache.stanbol.commons.web.base.WebFragment

getLinkResources

public List<org.apache.stanbol.commons.web.base.LinkResource> getLinkResources()
Specified by:
getLinkResources in interface org.apache.stanbol.commons.web.base.WebFragment

getScriptResources

public List<org.apache.stanbol.commons.web.base.ScriptResource> getScriptResources()
Specified by:
getScriptResources in interface org.apache.stanbol.commons.web.base.WebFragment

getNavigationLinks

public List<org.apache.stanbol.commons.web.base.NavigationLink> getNavigationLinks()
Specified by:
getNavigationLinks in interface org.apache.stanbol.commons.web.base.WebFragment


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.