org.jacorb.orb.portableInterceptor
Interface IORInfoExt
- IDLEntity, IORInfo, IORInfoOperations, Object, java.io.Serializable
- IORInfoImpl
public interface IORInfoExt
This class extends the standard defined interface of the IORInfo
object given to each IORInterceptor during creation of new IORs.
It provides convenience methods to modify the newly created IOR.
Version:
- Marc Heide
_create_request , _create_request , _duplicate , _get_domain_managers , _get_interface , _get_interface_def , _get_policy , _hash , _is_a , _is_equivalent , _non_existent , _release , _request , _set_policy_override |
add_profile
public void add_profile(Profile profile)
This method adds a further profile to an IOR.
By using this method it is possible to append e.g. further IIOP
profiles. The added profile is marshalled after all profiles
already existing in profile list.
profile
- the profile to add
get_number_of_profiles
public int get_number_of_profiles(int tag)
This method returns the number of profiles of the given type.
The returned value can be used to iterate over the existing
profiles of given type (get_profile()).
tag
- profile tag, e.g. TAG_INTERNET_IOP.value
- number of profiles of given tag
get_profile
public Profile get_profile(int tag)
Returns the first profile with the given tag (position == 0).
If no profile with given tag exists, null is returned.
tag
- tag of profile, e.g. TAG_INTERNET_IOP.value
- first profile or null if no profile with given
tag exists
get_profile
public Profile get_profile(int tag,
int position)
Returns the profile with the given tag at the given position.
Following rule must apply to parameter position:
0 <= position <32get_number_of_profiles(tag)
tag
- tag of profile, e.g. TAG_INTERNET_IOP.valueposition
- position in IOR
- profile