Name

RequestProcessingPolicy

Synopsis

A Policy that indicates how requests are handled by the POA. A value of RequestProcessingPolicyValue.USE_ACTIVE_OBJECT_MAP_ONLY indicates that requests are checked only against the active object map, and an OBJECT_NOT_EXIST exception is thrown if the object is not found. A value of RequestProcessingPolicyValue.USE_DEFAULT_SERVANT indicates that if the object is not found in the active object map, or if the POA has a ServantRetentionPolicy of NON_RETAIN, and if the POA has a default servant, then the request is passed onto the POA's default servant. A value of RequestProcessingPolicyValue.USE_SERVANT_MANAGER indicates that is the servant isn’t found in the active object map, or if the POA has a ServantRetentionPolicy of NON_RETAIN, and if a ServantManager is registed with the POA, then the ServantManager is asked to locate the servant. The default value is USE_ACTIVE_OBJECT_MAP_ONLY.

                  
public interface RequestProcessingPolicy extends RequestProcessingPolicyOperations, org.omg.CORBA.Policy, 
        org.omg.CORBA.portable.IDLEntity {
}

Returned By

POAOperations.create_request_processing_policy()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.