private void setEffectiveProfile () { effectiveProfile = getProfileSelector().selectProfile (profiles, orb.getClientConnectionManager()); lastUsedProfile = effectiveProfile; if (effectiveProfile != null) { cs_info = (CodeSetComponentInfo) getComponent (TAG_CODE_SETS.value, CodeSetComponentInfoHelper.class); orbTypeId = getLongComponent (TAG_ORB_TYPE.value); } }
public Profile getNextEffectiveProfile() { effectiveProfile = getProfileSelector().selectNextProfile (profiles, effectiveProfile); if (effectiveProfile != null && effectiveProfile != getLastUsedProfile()) { cs_info = (CodeSetComponentInfo) getComponent (TAG_CODE_SETS.value, CodeSetComponentInfoHelper.class); orbTypeId = getLongComponent (TAG_ORB_TYPE.value); } return effectiveProfile; }