Package com.webmethods.caf.common
Class GenerateOSGiManifest
java.lang.Object
com.webmethods.caf.common.GenerateOSGiManifest
Uses BND tool to generate an OSGi manifests for the various
MWS component archive types.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Override the class so the plugins can be discovered by the right classloaderstatic interface
Used for server side hook to resolve resources fromstatic class
Default impl that knows how to deal with local files only -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
doOSGiManifestGeneration
(String componentLocation, boolean forceManifestUpdate, Map<String, Object> optionsMap) Do the work to generate an OSGi manifest for the component
-
Field Details
-
SYSPROP_COMMON_BND_LIST
- See Also:
-
SYSPROP_COMMON_BND_DIR
- See Also:
-
COMMON_WAR_MANIFEST_COMPONENT_INCLUDE_KEY
- See Also:
-
COMMON_WAR_MANIFEST_COMPONENT_EXCLUDE_KEY
- See Also:
-
USE_CUSTOM_TEMPLATE_CACHING
- See Also:
-
ORIGINAL_FILE_TIME_STAMP
- See Also:
-
-
Constructor Details
-
GenerateOSGiManifest
public GenerateOSGiManifest()
-
-
Method Details
-
doOSGiManifestGeneration
public static boolean doOSGiManifestGeneration(String componentLocation, boolean forceManifestUpdate, Map<String, Object> optionsMap) throws ExceptionDo the work to generate an OSGi manifest for the component- Parameters:
componentLocation
- the component locationforceManifestUpdate
- true to force a manifest generation even if the component already has oneoptionsMap
- map of options that affect how the generation is done- Returns:
- true of a manifest was generated, false otherwise
- Throws:
Exception
-