Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.app
Class WebEngineModule

java.lang.Object
  extended by javax.ws.rs.core.Application
      extended by org.nuxeo.ecm.webengine.app.WebEngineModule
All Implemented Interfaces:
ApplicationFactory
Direct Known Subclasses:
AdminApp

public class WebEngineModule
extends Application
implements ApplicationFactory

Author:
Bogdan Stefanescu

Field Summary
static String WEBADAPTER_ANNO
           
static String WEBOBJECT_ANNO
           
 
Constructor Summary
WebEngineModule()
           
 
Method Summary
 Application getApplication(org.osgi.framework.Bundle bundle, Map<String,String> args)
          Create a new application instance given the bundle declaring the application and the attributes specified in the manifest.
 org.osgi.framework.Bundle getBundle()
           
 Set<Class<?>> getClasses()
           
 ModuleConfiguration getConfiguration()
           
 String getId()
           
 Module getModule()
           
 Class<?>[] getWebTypes()
           
 
Methods inherited from class javax.ws.rs.core.Application
getSingletons
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEBOBJECT_ANNO

public static final String WEBOBJECT_ANNO
See Also:
Constant Field Values

WEBADAPTER_ANNO

public static final String WEBADAPTER_ANNO
See Also:
Constant Field Values
Constructor Detail

WebEngineModule

public WebEngineModule()
Method Detail

getConfiguration

public ModuleConfiguration getConfiguration()

getModule

public Module getModule()

getBundle

public org.osgi.framework.Bundle getBundle()

getClasses

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

getId

public String getId()

getWebTypes

public Class<?>[] getWebTypes()

getApplication

public Application getApplication(org.osgi.framework.Bundle bundle,
                                  Map<String,String> args)
                           throws Exception
Description copied from interface: ApplicationFactory
Create a new application instance given the bundle declaring the application and the attributes specified in the manifest.

Specified by:
getApplication in interface ApplicationFactory
Parameters:
bundle - the bundle defining the application
args - the arguments parsed from manifest WebModule entry.
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.