Class CommonApplicationMappingFactory
- java.lang.Object
-
- com.orchestranetworks.addon.dex.common.CommonApplicationMappingFactory
-
public final class CommonApplicationMappingFactory extends java.lang.ObjectProvides the methods to get aCommonApplication.- Since:
- 2.6.3
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonApplicationcreateCommonApplication(java.lang.String logicalName, ApplicationType applicationType)Creates an instance ofCommonApplicationwith the specific logical name andApplicationType.CommonApplicationgetCommonApplication(com.orchestranetworks.instance.Repository repository, java.lang.String universalName, ApplicationType applicationType)Returns an instance ofCommonApplicationwith a specific universal name andApplicationType.CommonApplicationgetEBXCommonApplication(com.onwbp.adaptation.Adaptation dataset, java.util.Locale locale)Returns an instance ofCommonApplicationfor EBX® application.static CommonApplicationMappingFactorygetInstance()Returns an instance ofCommonApplicationMappingFactory.
-
-
-
Method Detail
-
getInstance
public static CommonApplicationMappingFactory getInstance()
Returns an instance ofCommonApplicationMappingFactory.
-
getEBXCommonApplication
public CommonApplication getEBXCommonApplication(com.onwbp.adaptation.Adaptation dataset, java.util.Locale locale) throws DataExchangeException
Returns an instance ofCommonApplicationfor EBX® application.- Parameters:
dataset- the current dataset.locale- the current locale.- Throws:
DataExchangeException- when the input parameters do not permit the retrieval of a consistent configuration.
-
getCommonApplication
public CommonApplication getCommonApplication(com.orchestranetworks.instance.Repository repository, java.lang.String universalName, ApplicationType applicationType) throws DataExchangeException
Returns an instance ofCommonApplicationwith a specific universal name andApplicationType.- Parameters:
repository- the current repository.universalName- the universal name declared in the Application table in the {addon.label} dataset.applicationType- the application type.- Throws:
DataExchangeException- when there is no application with a specific name or more than one application with a specified name.
-
createCommonApplication
public CommonApplication createCommonApplication(java.lang.String logicalName, ApplicationType applicationType)
Creates an instance ofCommonApplicationwith the specific logical name andApplicationType.- Parameters:
logicalName- the logical name declared in the Application table in the {addon.label} dataset.applicationType- the application type.
-
-