org.nuxeo.ecm.webengine.app
Class BundledApplication
java.lang.Object
javax.ws.rs.core.Application
org.nuxeo.ecm.webengine.app.BundledApplication
public class BundledApplication
- extends javax.ws.rs.core.Application
A JAX-RS application deployed from a bundle.
This is a wrapper of the original application specified by the used in the the bundle MANIFEST.
A bundle may deploy at most one application. A bundled application is uniquely identified by
the type name of the wrapped application class.
- Author:
- Bogdan Stefanescu
Constructor Summary |
BundledApplication(org.osgi.framework.Bundle bundle,
javax.ws.rs.core.Application app)
|
BundledApplication
public BundledApplication(org.osgi.framework.Bundle bundle,
javax.ws.rs.core.Application app)
reload
public void reload(WebEngine engine)
throws Exception
- Reloads the application class in the context of web engine loader.
- Throws:
Exception
getId
public String getId()
- The application ID. This is the same as the bundle symbolic name owning the application.
isWebEngineModule
public boolean isWebEngineModule()
getBundle
public org.osgi.framework.Bundle getBundle()
getApplication
public javax.ws.rs.core.Application getApplication()
getClasses
public Set<Class<?>> getClasses()
- Overrides:
getClasses
in class javax.ws.rs.core.Application
getSingletons
public Set<Object> getSingletons()
- Overrides:
getSingletons
in class javax.ws.rs.core.Application
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2011 Nuxeo SAS. All Rights Reserved.