This is a singleton factory for the DeploymentService implementation. We should revisit this to make sure this will work in multi-threaded environment, i.e. concurrent deployment. if (targetFactory != null) { return targetFactory; } PluggableFeatureFactory featureFactory = ApplicationServer.getServerContext().getPluggableFeatureFactory(); DeploymentFactory dFactory = featureFactory.getDeploymentFactory(); targetFactory = dFactory.createDeploymentTargetFactory(); return targetFactory;
if (targetFactory != null) { return targetFactory; } PluggableFeatureFactory featureFactory = ApplicationServer.getServerContext().getPluggableFeatureFactory(); DeploymentFactory dFactory = featureFactory.getDeploymentFactory(); targetFactory = dFactory.createDeploymentTargetFactory(); return targetFactory;
Returns the DeploymentTarget that represents a targetNameparamconfigContext config contextparamtargetName name of the targetreturnDeploymentTargetthrowsIASDeploymentException
Returns the default targetparamconfigContext config contextreturnDeploymentTargetthrowsIASDeploymentException