public TaggedProfile effective_profile (){
// access is currently valid for all states:
//checkAccess( MID_EFFECTIVE_PROFILE );
if( cachedEffectiveProfile == null ) {
CorbaContactInfo corbaContactInfo = (CorbaContactInfo)
messageMediator.getContactInfo();
cachedEffectiveProfile =
corbaContactInfo.getEffectiveProfile().getIOPProfile();
}
// Good citizen: In the interest of efficiency, we assume interceptors
// will not modify the returned TaggedProfile in any way so we need
// not make a deep copy of it.