Class AbstractOSGiApp

    • Field Detail

      • _bundle

        protected org.osgi.framework.Bundle _bundle
      • _properties

        protected java.util.Dictionary<?,​?> _properties
      • _registration

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

      • AbstractOSGiApp

        public AbstractOSGiApp​(DeploymentManager manager,
                               AppProvider provider,
                               org.osgi.framework.Bundle bundle,
                               java.lang.String originId)
      • AbstractOSGiApp

        public AbstractOSGiApp​(DeploymentManager manager,
                               AppProvider provider,
                               org.osgi.framework.Bundle bundle,
                               java.util.Dictionary<?,​?> properties,
                               java.lang.String originId)
    • Method Detail

      • getBundleSymbolicName

        public java.lang.String getBundleSymbolicName()
      • getBundleVersionAsString

        public java.lang.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 java.lang.Exception
        Throws:
        java.lang.Exception
      • deregisterAsOSGiService

        protected void deregisterAsOSGiService()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getFileAsResource

        protected Resource getFileAsResource​(java.lang.String dir,
                                             java.lang.String file)
      • getFileAsResource

        protected Resource getFileAsResource​(java.lang.String file)
      • findFile

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