Fields Summary |
---|
private static com.sun.enterprise.util.LocalStringManagerImpl | smh |
public static final String | JavaEEVersion_1_2 |
public static final String | JavaEEVersion_1_3 |
public static final String | JavaEEVersion_1_4 |
public static final String | JavaEEVersion_5 |
private static String[] | PlatformVersionToEJBVersionMap |
private static String[] | PlatformVersionToAppClientVersionMap |
private static String[] | PlatformVersionToJCAVersionMap |
private static String[] | PlatformVersionToWebAppVersionMap |
private static String[] | PlatformVersionToWebServiceVersionMap |
private static String[] | PlatformVersionToWebServiceClientVersionMap |
Methods Summary |
---|
public static java.lang.String | getAppClientVersion(java.lang.String platformVersion)
for (String[] row : PlatformVersionToAppClientVersionMap) {
if (row[0].equals(platformVersion)) {
return row[1];
}
}
return throwException(platformVersion);
|
public static java.lang.String | getEJBVersion(java.lang.String platformVersion)
for (String[] row : PlatformVersionToEJBVersionMap) {
if (row[0].equals(platformVersion)) {
return row[1];
}
}
return throwException(platformVersion);
|
public static java.lang.String | getJCAVersion(java.lang.String platformVersion)
for (String[] row : PlatformVersionToJCAVersionMap) {
if (row[0].equals(platformVersion)) {
return row[1];
}
}
return throwException(platformVersion);
|
public static java.lang.String | getWebAppVersion(java.lang.String platformVersion)
for (String[] row : PlatformVersionToWebAppVersionMap) {
if (row[0].equals(platformVersion)) {
return row[1];
}
}
return throwException(platformVersion);
|
public static java.lang.String | getWebServiceClientVersion(java.lang.String platformVersion)
for (String[] row : PlatformVersionToWebServiceClientVersionMap) {
if (row[0].equals(platformVersion)) {
return row[1];
}
}
return throwException(platformVersion);
|
public static java.lang.String | getWebServiceVersion(java.lang.String platformVersion)
for (String[] row : PlatformVersionToWebServiceVersionMap) {
if (row[0].equals(platformVersion)) {
return row[1];
}
}
return throwException(platformVersion);
|
private static java.lang.String | throwException(java.lang.String platformVersion)
throw new IllegalArgumentException(
smh.getLocalString("com.sun.enterprise.tools.verifier.SpecVersionMapper.exception", // NOI18N
"Not able to map platform version [ {0} ] component version.", // NOI18N
new Object[] {platformVersion}));
|