Package org.apache.felix.main
Class AutoProcessor
java.lang.Object
org.apache.felix.main.AutoProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The property name used to specify auto-deploy actions.static final String
Deprecated.static final String
The property name used for the bundle directory.static final String
Deprecated.static final String
The default name used for the bundle directory.static final String
The name used for the auto-deploy install action.static final String
The name used for the auto-deploy start action.static final String
The property name used to specify auto-deploy start level.static final String
Deprecated.static final String
The name used for the auto-deploy uninstall action.static final String
The name used for the auto-deploy update action.static final String
The property name prefix for the launcher's auto-install property.static final String
The property name prefix for the launcher's auto-start property. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
isFragment
(org.osgi.framework.Bundle bundle) private static String
static void
Used to instigate auto-deploy directory process and auto-install/auto-start configuration property processing during.private static void
processAutoDeploy
(Map configMap, org.osgi.framework.BundleContext context) Processes bundles in the auto-deploy directory, performing the specified deploy actions.private static void
processAutoProperties
(Map configMap, org.osgi.framework.BundleContext context) Processes the auto-install and auto-start properties from the specified configuration properties.
-
Field Details
-
AUTO_DEPLOY_DIR_PROPERY
Deprecated.The property name used for the bundle directory.- See Also:
-
AUTO_DEPLOY_DIR_PROPERTY
The property name used for the bundle directory.- See Also:
-
AUTO_DEPLOY_DIR_VALUE
The default name used for the bundle directory.- See Also:
-
AUTO_DEPLOY_ACTION_PROPERY
Deprecated.The property name used to specify auto-deploy actions.- See Also:
-
AUTO_DEPLOY_ACTION_PROPERTY
The property name used to specify auto-deploy actions.- See Also:
-
AUTO_DEPLOY_STARTLEVEL_PROPERY
Deprecated.The property name used to specify auto-deploy start level.- See Also:
-
AUTO_DEPLOY_STARTLEVEL_PROPERTY
The property name used to specify auto-deploy start level.- See Also:
-
AUTO_DEPLOY_INSTALL_VALUE
The name used for the auto-deploy install action.- See Also:
-
AUTO_DEPLOY_START_VALUE
The name used for the auto-deploy start action.- See Also:
-
AUTO_DEPLOY_UPDATE_VALUE
The name used for the auto-deploy update action.- See Also:
-
AUTO_DEPLOY_UNINSTALL_VALUE
The name used for the auto-deploy uninstall action.- See Also:
-
AUTO_INSTALL_PROP
The property name prefix for the launcher's auto-install property.- See Also:
-
AUTO_START_PROP
The property name prefix for the launcher's auto-start property.- See Also:
-
-
Constructor Details
-
AutoProcessor
public AutoProcessor()
-
-
Method Details
-
process
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
Processes bundles in the auto-deploy directory, performing the specified deploy actions.
-
processAutoProperties
Processes the auto-install and auto-start properties from the specified configuration properties.
-
nextLocation
-
isFragment
private static boolean isFragment(org.osgi.framework.Bundle bundle)
-
AUTO_DEPLOY_ACTION_PROPERTY