/** * Set the configuration beans to be used to the J2EE platform * version specificed. * * @param version a DConfigBeanVersionType object representing the * J2EE platform version for which support is requested. * @throws DConfigBeanVersionUnsupportedException when the * requested bean version is not supported. */ public void setDConfigBeanVersion(DConfigBeanVersionType version) throws DConfigBeanVersionUnsupportedException { if (!isDConfigBeanVersionSupported(version)) { throw new DConfigBeanVersionUnsupportedException( localStrings.getLocalString( "enterprise.deployapi.spi.dconfigbeanversionnotsupported", //NOI18N "DConfigBean version {0} is not supported", //NOI18N new Object[] {version.toString()})); } }
/** * Set the configuration beans to be used to the J2EE platform * version specificed. * * @param version a DConfigBeanVersionType object representing the * J2EE platform version for which support is requested. * @throws DConfigBeanVersionUnsupportedException when the * requested bean version is not supported. */ public void setDConfigBeanVersion(DConfigBeanVersionType version) throws DConfigBeanVersionUnsupportedException { if (!isDConfigBeanVersionSupported(version)) { throw new DConfigBeanVersionUnsupportedException( localStrings.getLocalString( "enterprise.deployapi.spi.dconfigbeanversionnotsupported", //NOI18N "DConfigBean version {0} is not supported", //NOI18N new Object[] {version.toString()})); } }