org.objectweb.carol.util.csiv2
Class SasPolicyFactory

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.objectweb.carol.util.csiv2.SasPolicyFactory
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, org.omg.PortableInterceptor.PolicyFactory, org.omg.PortableInterceptor.PolicyFactoryOperations

public class SasPolicyFactory
extends org.omg.CORBA.LocalObject
implements org.omg.PortableInterceptor.PolicyFactory

Make csiv2 policy objects

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
SasPolicyFactory()
          Default constructor
 
Method Summary
 org.omg.CORBA.Policy create_policy(int type, org.omg.CORBA.Any value)
          Returns an instance of the appropriate interface derived from CORBA.Policy whose value corresponds to the specified any.
 
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
 

Constructor Detail

SasPolicyFactory

public SasPolicyFactory()
Default constructor

Method Detail

create_policy

public org.omg.CORBA.Policy create_policy(int type,
                                          org.omg.CORBA.Any value)
                                   throws org.omg.CORBA.PolicyError
Returns an instance of the appropriate interface derived from CORBA.Policy whose value corresponds to the specified any.

Specified by:
create_policy in interface org.omg.PortableInterceptor.PolicyFactoryOperations
Parameters:
type - An int specifying the type of policy being created.
value - An any containing data with which to construct the CORBA.Policy.
Returns:
A CORBA.Policy object of the specified type and value.
Throws:
org.omg.CORBA.PolicyError - if the policy type is invalid