JavaTM 2 Platform
Standard Ed. 5.0

Uses of Interface
org.omg.CORBA.Policy

Packages that use Policy
org.omg.CORBA Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class ORB, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB). 
org.omg.CORBA.portable Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB. 
org.omg.PortableInterceptor Provides a mechanism to register ORB hooks through which ORB services can intercept the normal flow of execution of the ORB. 
org.omg.PortableServer Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. 
 

Uses of Policy in org.omg.CORBA
 

Classes in org.omg.CORBA that implement Policy
 class _PolicyStub
          The Stub for Policy.
 

Fields in org.omg.CORBA declared as Policy
 Policy[] PolicyListHolder.value
           
 Policy PolicyHolder.value
           
 

Methods in org.omg.CORBA that return Policy
 Policy LocalObject._get_policy(int policy_type)
          Throws an org.omg.CORBA.NO_IMPLEMENT exception with the message "This is a locally constrained object." This method does not apply to local objects and is therefore not implemented.
 Policy Object._get_policy(int policy_type)
          Returns the Policy object of the specified type which applies to this object.
 Policy _PolicyStub.copy()
          Copies the policy object.
 Policy PolicyOperations.copy()
          Returns a copy of the Policy object.
 Policy ORB.create_policy(int type, Any val)
          Can be invoked to create new instances of policy objects of a specific type with specified initial state.
static Policy[] PolicyListHelper.extract(Any a)
           
static Policy PolicyHelper.extract(Any a)
           
 Policy DomainManagerOperations.get_domain_policy(int policy_type)
          This returns the policy of the specified type for objects in this domain.
static Policy PolicyHelper.narrow(Object obj)
           
static Policy[] PolicyListHelper.read(InputStream istream)
           
static Policy PolicyHelper.read(InputStream istream)
           
 

Methods in org.omg.CORBA with parameters of type Policy
 Object LocalObject._set_policy_override(Policy[] policies, SetOverrideType set_add)
          Throws an org.omg.CORBA.NO_IMPLEMENT exception with the message "This is a locally constrained object." This method does not apply to local objects and is therefore not implemented.
 Object Object._set_policy_override(Policy[] policies, SetOverrideType set_add)
          Returns a new Object with the given policies either replacing any existing policies in this Object or with the given policies added to the existing ones, depending on the value of the given SetOverrideType object.
static void PolicyHelper.insert(Any a, Policy that)
           
static void PolicyListHelper.insert(Any a, Policy[] that)
           
static void PolicyHelper.write(OutputStream ostream, Policy value)
           
static void PolicyListHelper.write(OutputStream ostream, Policy[] value)
           
 

Constructors in org.omg.CORBA with parameters of type Policy
PolicyHolder(Policy initialValue)
           
PolicyListHolder(Policy[] initialValue)
           
 

Uses of Policy in org.omg.CORBA.portable
 

Methods in org.omg.CORBA.portable that return Policy
 Policy ObjectImpl._get_policy(int policy_type)
          Retrieves the Policy object for this ObjectImpl object that has the given policy type.
 Policy Delegate.get_policy(Object self, int policy_type)
          Returns the Policy object of the specified type which applies to this object.
 

Methods in org.omg.CORBA.portable with parameters of type Policy
 Object ObjectImpl._set_policy_override(Policy[] policies, SetOverrideType set_add)
          Sets this ObjectImpl object's override type for the given policies to the given instance of SetOverrideType.
 Object Delegate.set_policy_override(Object self, Policy[] policies, SetOverrideType set_add)
          Associates the policies passed in with a newly created object reference that it returns.
 

Uses of Policy in org.omg.PortableInterceptor
 

Methods in org.omg.PortableInterceptor that return Policy
 Policy PolicyFactoryOperations.create_policy(int type, Any value)
          Returns an instance of the appropriate interface derived from CORBA.Policy whose value corresponds to the specified any.
 Policy IORInfoOperations.get_effective_policy(int type)
          Allows an ORB service implementation to determine what server side policy of a particular type is in effect for an IOR being constructed.
 Policy ClientRequestInfoOperations.get_request_policy(int type)
          Returns the given policy in effect for this operation.
 Policy ServerRequestInfoOperations.get_server_policy(int type)
          Returns the policy in effect for this operation for the given policy type.
 

Uses of Policy in org.omg.PortableServer
 

Subinterfaces of Policy in org.omg.PortableServer
 interface IdAssignmentPolicy
          IdAssignmentPolicy specifies whether Object Ids in the created POA are generated by the application or by the ORB.
 interface IdUniquenessPolicy
          The IdUniquenessPolicy specifies whether the servants activated in the created POA must have unique object i identities.
 interface ImplicitActivationPolicy
          This policy specifies whether implicit activation of servants is supported in the created POA.
 interface LifespanPolicy
          The LifespanPolicy specifies the lifespan of the objects implemented in the created POA.
 interface RequestProcessingPolicy
          This policy specifies how requests are processed by the created POA.
 interface ServantRetentionPolicy
          This policy specifies whether the created POA retains active servants in an Active Object Map.
 interface ThreadPolicy
          The ThreadPolicy specifies the threading model used with the created POA.
 

Methods in org.omg.PortableServer with parameters of type Policy
 POA POAOperations.create_POA(String adapter_name, POAManager a_POAManager, Policy[] policies)
          This operation creates a new POA as a child of the target POA.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.