Java Platform 1.2
Beta 4

Interface org.omg.CORBA.ConstructionPolicy


public abstract interface ConstructionPolicy
extends Object, Policy
The ConstructionPolicy object allows callers to specify that when instances of a particular interface are created, they should be automatically assigned membership in a newly created domain at creation time.


Method Summary
 void make_domain_manager(InterfaceDef object_type, boolean constr_policy)
          This operation enables the invoker to set the construction policy that is to be in effect in the domain with which this ConstructionPolicy object is associated.
 
Methods inherited from interface org.omg.CORBA.Policy
copy , destroy , policy_type
 

Method Detail

make_domain_manager

public void make_domain_manager(InterfaceDef object_type,
                                boolean constr_policy)
This operation enables the invoker to set the construction policy that is to be in effect in the domain with which this ConstructionPolicy object is associated. Construction policy can either be set so that when an instance of the interface specified by the input parameter is created, a new domain manager will be created and the newly created object will respond to get_domain_managers by returning a reference to this domain manager. Alternatively the policy can be set to associate the newly created object with the domain associated with the creator.
Parameters:
object_type - The type of the objects for which Domain Managers will be created. If this is nil, the policy applies to all objects in the domain.
constr_policy - If TRUE the construction policy is set to create a new domain manager associated with the newly created object of this type in this domain. If FALSE construction policy is set to associate the newly created object with the domain of the creator or a default domain as described above.

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.