Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.jaxrs
Class ApplicationFragment

java.lang.Object
  extended by javax.ws.rs.core.Application
      extended by org.nuxeo.ecm.webengine.jaxrs.ApplicationFragment

public class ApplicationFragment
extends Application

A wrapper for a JAX-RS application fragment declared in manifest. The fragment application will be added to the target host application.

Author:
Bogdan Stefanescu

Constructor Summary
ApplicationFragment(org.osgi.framework.Bundle bundle, String appClass)
           
ApplicationFragment(org.osgi.framework.Bundle bundle, String appClass, Map<String,String> attrs)
           
ApplicationFragment(org.osgi.framework.Bundle bundle, String appClass, String host)
           
 
Method Summary
static Map<String,String> createAttributes(String hostName)
           
 Application get()
           
 Map<String,String> getAttrs()
           
 org.osgi.framework.Bundle getBundle()
           
 Set<Class<?>> getClasses()
           
 String getHostName()
           
 Set<Object> getSingletons()
           
 void reload()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationFragment

public ApplicationFragment(org.osgi.framework.Bundle bundle,
                           String appClass)

ApplicationFragment

public ApplicationFragment(org.osgi.framework.Bundle bundle,
                           String appClass,
                           String host)

ApplicationFragment

public ApplicationFragment(org.osgi.framework.Bundle bundle,
                           String appClass,
                           Map<String,String> attrs)
Method Detail

createAttributes

public static Map<String,String> createAttributes(String hostName)

reload

public void reload()
            throws Exception
Throws:
Exception

getBundle

public org.osgi.framework.Bundle getBundle()

getAttrs

public Map<String,String> getAttrs()

getHostName

public String getHostName()

get

public Application get()

getClasses

public Set<Class<?>> getClasses()
Overrides:
getClasses in class Application

getSingletons

public Set<Object> getSingletons()
Overrides:
getSingletons in class Application

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.