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)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
BundledApplication
public BundledApplication(org.osgi.framework.Bundle bundle,
javax.ws.rs.core.Application app)
reload
public void reload(WebEngine engine)
throws java.lang.Exception
- Reloads the application class in the context of web engine loader.
- Throws:
java.lang.Exception
getId
public java.lang.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 java.util.Set<java.lang.Class<?>> getClasses()
- Overrides:
getClasses
in class javax.ws.rs.core.Application
getSingletons
public java.util.Set<java.lang.Object> getSingletons()
- Overrides:
getSingletons
in class javax.ws.rs.core.Application
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2010 Nuxeo SAS. All Rights Reserved.