use of org.apache.aries.application.DeploymentMetadataFactory in project aries by apache.
the class AriesApplicationManagerImplTest method setup.
@Before
public void setup() {
_appMgr = new AriesApplicationManagerImpl();
_appMetaFactory = new ApplicationMetadataFactoryImpl();
DeploymentMetadataFactory dmf = new DeploymentMetadataFactoryImpl();
_converter = new DummyConverter();
List<BundleConverter> bundleConverters = new ArrayList<BundleConverter>();
bundleConverters.add(_converter);
_resolver = new DummyResolver();
_dmMgr = new DummyDMManager();
_dmMgr.setResolver(_resolver);
_appMgr.setApplicationMetadataFactory(_appMetaFactory);
_appMgr.setDeploymentMetadataFactory(dmf);
_appMgr.setBundleConverters(bundleConverters);
_appMgr.setDeploymentManifestManager(_dmMgr);
_appMgr.setLocalPlatform(new DummyLocalPlatform());
}
Aggregations