| org.jacorb.orb.portableInterceptor.IORInfoExt
All known Subclasses: org.jacorb.orb.portableInterceptor.IORInfoImpl,
IORInfoExt | public interface IORInfoExt extends IORInfo(Code) | | 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.
author: Marc Heide version: $Id: IORInfoExt.java,v 1.4 2006/07/07 10:55:57 alphonse.bendt Exp $ |
Method Summary | |
void | add_profile(org.omg.ETF.Profile profile) This method adds a further profile to an IOR.
By using this method it is possible to append e.g. | 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()).
Parameters: tag - profile tag, e.g. | org.omg.ETF.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 < get_number_of_profiles(tag)
Parameters: tag - tag of profile, e.g. | org.omg.ETF.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.
Parameters: tag - tag of profile, e.g. |
add_profile | void add_profile(org.omg.ETF.Profile profile)(Code) | | 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.
Parameters: profile - the profile to add |
get_number_of_profiles | int get_number_of_profiles(int tag)(Code) | | 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()).
Parameters: tag - profile tag, e.g. TAG_INTERNET_IOP.value number of profiles of given tag |
get_profile | org.omg.ETF.Profile get_profile(int tag, int position)(Code) | | Returns the profile with the given tag at the given position.
Following rule must apply to parameter position:
0 <= position < get_number_of_profiles(tag)
Parameters: tag - tag of profile, e.g. TAG_INTERNET_IOP.value Parameters: position - position in IOR profile exception: ArrayIndexOutOfBoundsException - if position isout of range |
get_profile | org.omg.ETF.Profile get_profile(int tag)(Code) | | Returns the first profile with the given tag (position == 0).
If no profile with given tag exists, null is returned.
Parameters: tag - tag of profile, e.g. TAG_INTERNET_IOP.value first profile or null if no profile with giventag exists |
|
|