Class AbstractOSGiApp

java.lang.Object
org.eclipse.jetty.deploy.App
org.eclipse.jetty.osgi.boot.AbstractOSGiApp
Direct Known Subclasses:
AbstractContextProvider.OSGiApp, AbstractWebAppProvider.OSGiApp

public abstract class AbstractOSGiApp extends App
AbstractOSGiApp Base class representing info about a webapp/ContextHandler that is deployed into Jetty.
  • Field Details

    • _bundle

      protected org.osgi.framework.Bundle _bundle
    • _properties

      protected Dictionary<?,?> _properties
    • _registration

      protected org.osgi.framework.ServiceRegistration _registration
  • Constructor Details

  • Method Details

    • getBundleSymbolicName

      public String getBundleSymbolicName()
    • getBundleVersionAsString

      public String getBundleVersionAsString()
    • getBundle

      public org.osgi.framework.Bundle getBundle()
    • setRegistration

      public void setRegistration(org.osgi.framework.ServiceRegistration registration)
    • getRegistration

      public org.osgi.framework.ServiceRegistration getRegistration()
    • registerAsOSGiService

      public void registerAsOSGiService() throws Exception
      Throws:
      Exception
    • deregisterAsOSGiService

      protected void deregisterAsOSGiService() throws Exception
      Throws:
      Exception
    • getFileAsResource

      protected Resource getFileAsResource(String dir, String file)
    • getFileAsResource

      protected Resource getFileAsResource(String file)
    • findFile

      protected Resource findFile(String fileName, String jettyHome, String bundleOverrideLocation, org.osgi.framework.Bundle containingBundle)