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

POAPolicyMediatorImpl_R_AOM

public class POAPolicyMediatorImpl_R_AOM extends POAPolicyMediatorBase_R
Implementation of POARequesHandler that provides policy specific operations on the POA in the case:
  • retain
  • useActiveObjectMapOnly

Fields Summary
Constructors Summary
POAPolicyMediatorImpl_R_AOM(Policies policies, POAImpl poa)

	// assert policies.retainServants() 
	super( policies, poa ) ;

	// policies.useActiveObjectMapOnly()
	if (!policies.useActiveMapOnly())
	    throw poa.invocationWrapper().policyMediatorBadPolicyInFactory() ;
    
Methods Summary
public voidetherealizeAll()

	
	// NO-OP
    
public org.omg.PortableServer.ServantgetDefaultServant()

	throw new WrongPolicy();
    
public org.omg.PortableServer.ServantManagergetServantManager()

        throw new WrongPolicy();
    
public org.omg.PortableServer.ServantidToServant(byte[] id)

	Servant s = internalIdToServant( id ) ; 

	if (s == null)
	    throw new ObjectNotActive() ;
	else
	    return s;                
    
protected java.lang.ObjectinternalGetServant(byte[] id, java.lang.String operation)

 
	java.lang.Object servant = internalIdToServant( id ) ;
	if (servant == null)
	    servant = new NullServantImpl( 
		poa.invocationWrapper().nullServant() ) ;
	return servant ;
    
public voidsetDefaultServant(org.omg.PortableServer.Servant servant)

	throw new WrongPolicy();
    
public voidsetServantManager(org.omg.PortableServer.ServantManager servantManager)

        throw new WrongPolicy();