public class ServantCachingPolicy extends LocalObject implements Policy
If servant caching is used, there are two different additional features of the POA that are expensive:
Modifier and Type | Field and Description |
---|---|
static int |
FULL_SEMANTICS
Perform servant caching, preserving POA current and POA destroy semantics.
|
static int |
INFO_ONLY_SEMANTICS
Perform servant caching, preservent only POA current semantics.
|
static int |
MINIMAL_SEMANTICS
Perform servant caching, not preserving POA current or POA destroy semantics.
|
static int |
NO_SERVANT_CACHING
Do not cache servants in the ClientRequestDispatcher.
|
Modifier and Type | Method and Description |
---|---|
Policy |
copy() |
void |
destroy() |
static ServantCachingPolicy |
getFullPolicy() |
static ServantCachingPolicy |
getInfoOnlyPolicy() |
static ServantCachingPolicy |
getMinimalPolicy() |
static ServantCachingPolicy |
getPolicy()
Return the default servant caching policy.
|
int |
getType() |
int |
policy_type() |
String |
toString() |
String |
typeToName() |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
public static final int NO_SERVANT_CACHING
public static final int FULL_SEMANTICS
public static final int INFO_ONLY_SEMANTICS
public static final int MINIMAL_SEMANTICS
public String typeToName()
public int getType()
public static ServantCachingPolicy getPolicy()
public static ServantCachingPolicy getFullPolicy()
public static ServantCachingPolicy getInfoOnlyPolicy()
public static ServantCachingPolicy getMinimalPolicy()
public int policy_type()
policy_type
in interface PolicyOperations
public Policy copy()
copy
in interface PolicyOperations
public void destroy()
destroy
in interface PolicyOperations
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.