org.apache.stanbol.contenthub.web.fragment
Class ContenthubWebFragment
java.lang.Object
org.apache.stanbol.contenthub.web.fragment.ContenthubWebFragment
- All Implemented Interfaces:
- org.apache.stanbol.commons.web.base.WebFragment
@Service
public class ContenthubWebFragment
- 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContenthubWebFragment
public ContenthubWebFragment()
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 © 2011-2013 The Apache Software Foundation. All Rights Reserved.