|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.LocalObject
org.jacorb.orb.portableInterceptor.IORInfoImpl
This class represents the type of info object
that will be passed to the IORInterceptors.
See PI Spec p.7-64f
Constructor Summary | |
IORInfoImpl(ORB orb,
POA poa,
java.util.Map components,
java.util.Map policy_overrides,
java.util.List profiles)
|
Method Summary | |
void |
add_ior_component_to_profile(TaggedComponent component,
int id)
Adds the component to the profile with the given tag. |
void |
add_ior_component(TaggedComponent component)
Adds component to all profiles. |
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)
Returns the first profile with the given tag (position == 0). |
Profile |
get_profile(int tag,
int position)
Returns the profile with the given tag at the given position. |
Methods inherited from class org.omg.CORBA.LocalObject |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Constructor Detail |
public IORInfoImpl(ORB orb, POA poa, java.util.Map components, java.util.Map policy_overrides, java.util.List profiles)
Method Detail |
public void add_ior_component(TaggedComponent component)
add_ior_component
in interface IORInfoOperations
public void add_ior_component_to_profile(TaggedComponent component, int id)
add_ior_component_to_profile
in interface IORInfoOperations
public Policy get_effective_policy(int type)
get_effective_policy
in interface IORInfoOperations
public void add_profile(Profile profile)
add_profile
in interface IORInfoExt
profile
- the profile to addpublic int get_number_of_profiles(int tag)
get_number_of_profiles
in interface IORInfoExt
tag
- profile tag, e.g. TAG_INTERNET_IOP.value
public Profile get_profile(int tag, int position)
0 <= position < get_number_of_profiles(tag)
get_profile
in interface IORInfoExt
tag
- tag of profile, e.g. TAG_INTERNET_IOP.valueposition
- position in IOR
java.lang.ArrayIndexOutOfBoundsException
- if position is
out of rangepublic Profile get_profile(int tag)
get_profile
in interface IORInfoExt
tag
- tag of profile, e.g. TAG_INTERNET_IOP.value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |