Package org.apache.felix.main
Class AutoProcessor
- java.lang.Object
-
- org.apache.felix.main.AutoProcessor
-
public class AutoProcessor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AUTO_DEPLOY_ACTION_PROPERTY
The property name used to specify auto-deploy actions.static java.lang.String
AUTO_DEPLOY_ACTION_PROPERY
Deprecated.static java.lang.String
AUTO_DEPLOY_DIR_PROPERTY
The property name used for the bundle directory.static java.lang.String
AUTO_DEPLOY_DIR_PROPERY
Deprecated.static java.lang.String
AUTO_DEPLOY_DIR_VALUE
The default name used for the bundle directory.static java.lang.String
AUTO_DEPLOY_INSTALL_VALUE
The name used for the auto-deploy install action.static java.lang.String
AUTO_DEPLOY_START_VALUE
The name used for the auto-deploy start action.static java.lang.String
AUTO_DEPLOY_STARTLEVEL_PROPERTY
The property name used to specify auto-deploy start level.static java.lang.String
AUTO_DEPLOY_STARTLEVEL_PROPERY
Deprecated.static java.lang.String
AUTO_DEPLOY_UNINSTALL_VALUE
The name used for the auto-deploy uninstall action.static java.lang.String
AUTO_DEPLOY_UPDATE_VALUE
The name used for the auto-deploy update action.static java.lang.String
AUTO_INSTALL_PROP
The property name prefix for the launcher's auto-install property.static java.lang.String
AUTO_START_PROP
The property name prefix for the launcher's auto-start property.
-
Constructor Summary
Constructors Constructor Description AutoProcessor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static boolean
isFragment(org.osgi.framework.Bundle bundle)
private static java.lang.String
nextLocation(java.util.StringTokenizer st)
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.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.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.
-
-
-
Field Detail
-
AUTO_DEPLOY_DIR_PROPERY
public static final java.lang.String AUTO_DEPLOY_DIR_PROPERY
Deprecated.The property name used for the bundle directory.- See Also:
- Constant Field Values
-
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_PROPERY
public static final java.lang.String AUTO_DEPLOY_ACTION_PROPERY
Deprecated.The property name used to specify auto-deploy actions.- 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_PROPERY
public static final java.lang.String AUTO_DEPLOY_STARTLEVEL_PROPERY
Deprecated.The property name used to specify auto-deploy start level.- 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
-
-
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)
-
-