org.objectweb.carol.util.csiv2
Class SasPolicy

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.objectweb.carol.util.csiv2.SasPolicy
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.Policy, org.omg.CORBA.PolicyOperations, org.omg.CORBA.portable.IDLEntity

public class SasPolicy
extends org.omg.CORBA.LocalObject
implements org.omg.CORBA.Policy

Csiv2 Policy for binding object

Author:
Florent Benoit
See Also:
Serialized Form

Field Summary
static int POLICY_TYPE
          Type
 
Constructor Summary
SasPolicy(SasComponent sasComponent)
          Build a csiv2 policy with the given configuration
 
Method Summary
 org.omg.CORBA.Policy copy()
          Returns a copy of the Policy object.
 void destroy()
          Destroys the Policy object.
 SasComponent getSasComponent()
           
 int policy_type()
          Returns the constant value that corresponds to the type of the policy object.
 
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_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Field Detail

POLICY_TYPE

public static final int POLICY_TYPE
Type

See Also:
Constant Field Values
Constructor Detail

SasPolicy

public SasPolicy(SasComponent sasComponent)
Build a csiv2 policy with the given configuration

Parameters:
sasComponent - configuration for CsiV2
Method Detail

policy_type

public int policy_type()
Returns the constant value that corresponds to the type of the policy object.

Specified by:
policy_type in interface org.omg.CORBA.PolicyOperations
Returns:
the constant value that corresponds to the type of the policy object

destroy

public void destroy()
Destroys the Policy object.

Specified by:
destroy in interface org.omg.CORBA.PolicyOperations

copy

public org.omg.CORBA.Policy copy()
Returns a copy of the Policy object.

Specified by:
copy in interface org.omg.CORBA.PolicyOperations
Returns:
a copy of the Policy object

getSasComponent

public SasComponent getSasComponent()
Returns:
the sasComponent.