org.apache.yoko.orb.OB
Class ProtocolPolicy_impl

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.apache.yoko.orb.OB.ProtocolPolicy_impl
All Implemented Interfaces:
Serializable, ProtocolPolicy, ProtocolPolicyOperations, Object, Policy, PolicyOperations, IDLEntity

public final class ProtocolPolicy_impl
extends LocalObject
implements ProtocolPolicy

See Also:
Serialized Form

Constructor Summary
ProtocolPolicy_impl(String[] value)
           
 
Method Summary
 boolean contains(String id)
          Determines if this policy includes the given plugin id.
 Policy copy()
           
 void destroy()
           
 int policy_type()
           
 String[] value()
          If a ProtocolPolicy is set, then the value specifies the list of plugins that may be used.
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _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

ProtocolPolicy_impl

public ProtocolPolicy_impl(String[] value)
Method Detail

value

public String[] value()
Description copied from interface: ProtocolPolicyOperations
If a ProtocolPolicy is set, then the value specifies the list of plugins that may be used. The profiles of an IOR will be used in the order specified by this policy. If no profile in an IOR matches any of the plugins specified by this policy, a CORBA::TRANSIENT exception will be raised. By default, the ORB chooses the protocol to be used.

Specified by:
value in interface ProtocolPolicyOperations

contains

public boolean contains(String id)
Description copied from interface: ProtocolPolicyOperations
Determines if this policy includes the given plugin id.

Specified by:
contains in interface ProtocolPolicyOperations

policy_type

public int policy_type()
Specified by:
policy_type in interface PolicyOperations

copy

public Policy copy()
Specified by:
copy in interface PolicyOperations

destroy

public void destroy()
Specified by:
destroy in interface PolicyOperations


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.