FileDocCategorySizeDatePackage
POAPolicyMediatorFactory.javaAPI DocJava SE 5 API1259Fri Aug 26 14:54:26 BST 2005com.sun.corba.se.impl.oa.poa

POAPolicyMediatorFactory

public abstract class POAPolicyMediatorFactory extends Object

Fields Summary
Constructors Summary
Methods Summary
static POAPolicyMediatorcreate(Policies policies, POAImpl poa)

	if (policies.retainServants()) {
	    if (policies.useActiveMapOnly())
		return new POAPolicyMediatorImpl_R_AOM( policies, poa ) ;
	    else if (policies.useDefaultServant()) 
		return new POAPolicyMediatorImpl_R_UDS( policies, poa ) ;
	    else if (policies.useServantManager())
		return new POAPolicyMediatorImpl_R_USM( policies, poa ) ;
	    else
		throw poa.invocationWrapper().pmfCreateRetain() ;
	} else {
	    if (policies.useDefaultServant()) 
		return new POAPolicyMediatorImpl_NR_UDS( policies, poa ) ;
	    else if (policies.useServantManager())
		return new POAPolicyMediatorImpl_NR_USM( policies, poa ) ;
	    else
		throw poa.invocationWrapper().pmfCreateNonRetain() ;
	}