org.wso2.carbon.server.extensions
Class DropinsBundleDeployer

java.lang.Object
  extended by org.wso2.carbon.server.extensions.DropinsBundleDeployer
All Implemented Interfaces:
CarbonLaunchExtension

public class DropinsBundleDeployer
extends Object
implements CarbonLaunchExtension

Deploy bundles found inside the dropins directory. 1) Loop through all the bundles in the dropins directory 2) Read their manifest.mf file and extract symbolic names and the bundle-versions. 3) Add the entry to the bundles.info file.


Constructor Summary
DropinsBundleDeployer()
           
 
Method Summary
 void perform()
          1) Extract bundle info from the dropins directory 2) Process the bundles.info file and populate a data structure, during this process we remove the stale references as well.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropinsBundleDeployer

public DropinsBundleDeployer()
Method Detail

perform

public void perform()
1) Extract bundle info from the dropins directory 2) Process the bundles.info file and populate a data structure, during this process we remove the stale references as well. 3) Add new bundles information to the data structure. 4) Update the bundles.info file.

Specified by:
perform in interface CarbonLaunchExtension


Copyright © 2014 WSO2 Inc. All rights reserved.