org.apache.stanbol.reasoners.web
Class ReasonersFragment

java.lang.Object
  extended by org.apache.stanbol.reasoners.web.ReasonersFragment
All Implemented Interfaces:
WebFragment

@Service(value=org.apache.stanbol.commons.web.base.WebFragment.class)
public class ReasonersFragment
extends java.lang.Object
implements WebFragment

Implementation of WebFragment for the Stanbol Reasoner end-point.

Author:
Alberto Musetti

Constructor Summary
ReasonersFragment()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext ctx)
           
 org.osgi.framework.BundleContext getBundleContext()
           
 java.util.Set<java.lang.Class<?>> getJaxrsResourceClasses()
           
 java.util.Set<java.lang.Object> getJaxrsResourceSingletons()
           
 java.util.List<LinkResource> getLinkResources()
           
 java.lang.String getName()
           
 java.util.List<NavigationLink> getNavigationLinks()
           
 java.util.List<ScriptResource> getScriptResources()
           
 java.lang.String getStaticResourceClassPath()
           
 freemarker.cache.TemplateLoader getTemplateLoader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReasonersFragment

public ReasonersFragment()
Method Detail

getBundleContext

public org.osgi.framework.BundleContext getBundleContext()
Specified by:
getBundleContext in interface WebFragment

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

getLinkResources

public java.util.List<LinkResource> getLinkResources()
Specified by:
getLinkResources in interface WebFragment

getName

public java.lang.String getName()
Specified by:
getName in interface WebFragment

getNavigationLinks

public java.util.List<NavigationLink> getNavigationLinks()
Specified by:
getNavigationLinks in interface WebFragment

getScriptResources

public java.util.List<ScriptResource> getScriptResources()
Specified by:
getScriptResources 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

activate

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


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