Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webengine.jaxrs.scan
Class DynamicApplicationFactory

java.lang.Object
  extended by org.nuxeo.ecm.webengine.jaxrs.scan.DynamicApplicationFactory
All Implemented Interfaces:
ApplicationFactory

public class DynamicApplicationFactory
extends Object
implements ApplicationFactory

Author:
Bogdan Stefanescu

Constructor Summary
DynamicApplicationFactory()
           
 
Method Summary
 javax.ws.rs.core.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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicApplicationFactory

public DynamicApplicationFactory()
Method Detail

getApplication

public javax.ws.rs.core.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 Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.