Class AutoProcessor


  • public class AutoProcessor
    extends java.lang.Object
    • Field Detail

      • AUTO_DEPLOY_DIR_PROPERTY

        public static final java.lang.String AUTO_DEPLOY_DIR_PROPERTY
        The property name used for the bundle directory.
        See Also:
        Constant Field Values
      • AUTO_DEPLOY_DIR_VALUE

        public static final java.lang.String AUTO_DEPLOY_DIR_VALUE
        The default name used for the bundle directory.
        See Also:
        Constant Field Values
      • AUTO_DEPLOY_ACTION_PROPERTY

        public static final java.lang.String AUTO_DEPLOY_ACTION_PROPERTY
        The property name used to specify auto-deploy actions.
        See Also:
        Constant Field Values
      • AUTO_DEPLOY_STARTLEVEL_PROPERTY

        public static final java.lang.String AUTO_DEPLOY_STARTLEVEL_PROPERTY
        The property name used to specify auto-deploy start level.
        See Also:
        Constant Field Values
      • AUTO_DEPLOY_INSTALL_VALUE

        public static final java.lang.String AUTO_DEPLOY_INSTALL_VALUE
        The name used for the auto-deploy install action.
        See Also:
        Constant Field Values
      • AUTO_DEPLOY_START_VALUE

        public static final java.lang.String AUTO_DEPLOY_START_VALUE
        The name used for the auto-deploy start action.
        See Also:
        Constant Field Values
      • AUTO_DEPLOY_UPDATE_VALUE

        public static final java.lang.String AUTO_DEPLOY_UPDATE_VALUE
        The name used for the auto-deploy update action.
        See Also:
        Constant Field Values
      • AUTO_DEPLOY_UNINSTALL_VALUE

        public static final java.lang.String AUTO_DEPLOY_UNINSTALL_VALUE
        The name used for the auto-deploy uninstall action.
        See Also:
        Constant Field Values
      • AUTO_INSTALL_PROP

        public static final java.lang.String AUTO_INSTALL_PROP
        The property name prefix for the launcher's auto-install property.
        See Also:
        Constant Field Values
      • AUTO_START_PROP

        public static final java.lang.String AUTO_START_PROP
        The property name prefix for the launcher's auto-start property.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AutoProcessor

        public AutoProcessor()
    • Method Detail

      • process

        public static void process​(java.util.Map configMap,
                                   org.osgi.framework.BundleContext context)
        Used to instigate auto-deploy directory process and auto-install/auto-start configuration property processing during.
        Parameters:
        configMap - Map of configuration properties.
        context - The system bundle context.
      • processAutoDeploy

        private static void processAutoDeploy​(java.util.Map configMap,
                                              org.osgi.framework.BundleContext context)

        Processes bundles in the auto-deploy directory, performing the specified deploy actions.

      • processAutoProperties

        private static void processAutoProperties​(java.util.Map configMap,
                                                  org.osgi.framework.BundleContext context)

        Processes the auto-install and auto-start properties from the specified configuration properties.

      • nextLocation

        private static java.lang.String nextLocation​(java.util.StringTokenizer st)
      • isFragment

        private static boolean isFragment​(org.osgi.framework.Bundle bundle)