org.apache.felix.fileinstall.internal

Class FileInstall

  • java.lang.Object
    • org.apache.felix.fileinstall.internal.FileInstall
  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator, org.osgi.util.tracker.ServiceTrackerCustomizer


    public class FileInstallextends java.lang.Objectimplements org.osgi.framework.BundleActivator, org.osgi.util.tracker.ServiceTrackerCustomizer
    This clever little bundle watches a directory and will install any jar file if finds in that directory (as long as it is a valid bundle and not a fragment).
    • Constructor Summary

      Constructors 
      Constructor and Description
      FileInstall() 
    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      java.lang.ObjectaddingService(org.osgi.framework.ServiceReference serviceReference) 
      voiddeleted(java.lang.String pid) 
      voidmodifiedService(org.osgi.framework.ServiceReference reference, java.lang.Object service) 
      voidremovedService(org.osgi.framework.ServiceReference serviceReference, java.lang.Object service) 
      voidstart(org.osgi.framework.BundleContext context) 
      voidstop(org.osgi.framework.BundleContext context) 
      voidupdateChecksum(java.io.File file) 
      voidupdated(java.lang.String pid, java.util.Map<java.lang.String,java.lang.String> properties) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileInstall

        public FileInstall()
    • Method Detail

      • start

        public void start(org.osgi.framework.BundleContext context)           throws java.lang.Exception
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Throws:
        java.lang.Exception
      • addingService

        public java.lang.Object addingService(org.osgi.framework.ServiceReference serviceReference)
        Specified by:
        addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
      • modifiedService

        public void modifiedService(org.osgi.framework.ServiceReference reference,                   java.lang.Object service)
        Specified by:
        modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
      • removedService

        public void removedService(org.osgi.framework.ServiceReference serviceReference,                  java.lang.Object service)
        Specified by:
        removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
      • stop

        public void stop(org.osgi.framework.BundleContext context)          throws java.lang.Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Throws:
        java.lang.Exception
      • deleted

        public void deleted(java.lang.String pid)
      • updated

        public void updated(java.lang.String pid,           java.util.Map<java.lang.String,java.lang.String> properties)
      • updateChecksum

        public void updateChecksum(java.io.File file)

Copyright © 2006-2015 The Apache Software Foundation. All Rights Reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14