org.jacorb.orb.portableInterceptor
public class IORInfoImpl extends LocalObject implements IORInfoExt
Version: $Id: IORInfoImpl.java,v 1.14 2006/07/07 10:55:57 alphonse.bendt Exp $
Constructor Summary | |
---|---|
IORInfoImpl(ORB orb, POA poa, Map components, Map policy_overrides, List profiles) |
Method Summary | |
---|---|
void | add_ior_component(TaggedComponent component)
Adds component to all profiles. |
void | add_ior_component_to_profile(TaggedComponent component, int id)
Adds the component to the profile with the given tag. |
void | add_profile(Profile profile)
This method adds a further profile to an IOR.
|
Policy | get_effective_policy(int type) |
int | get_number_of_profiles(int tag)
This method returns the number of profiles of the given type.
|
Profile | get_profile(int tag, int position)
Returns the profile with the given tag at the given position.
|
Profile | get_profile(int tag)
Returns the first profile with the given tag (position == 0).
|
Parameters: profile the profile to add
Returns: a policy of the given type, or null, if no policy of that type is present.
Parameters: tag profile tag, e.g. TAG_INTERNET_IOP.value
Returns: number of profiles of given tag
0 <= position < get_number_of_profiles(tag)
Parameters: tag tag of profile, e.g. TAG_INTERNET_IOP.value position position in IOR
Returns: profile
Throws: ArrayIndexOutOfBoundsException if position is out of range
Parameters: tag tag of profile, e.g. TAG_INTERNET_IOP.value
Returns: first profile or null if no profile with given tag exists