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()
Returns a copy of the
Policy object. |
void |
destroy()
Destroys the
Policy object. |
static ServantCachingPolicy |
getFullPolicy() |
static ServantCachingPolicy |
getInfoOnlyPolicy() |
static ServantCachingPolicy |
getMinimalPolicy() |
static ServantCachingPolicy |
getPolicy()
Return the default servant caching policy.
|
int |
getType() |
int |
policy_type()
Returns the constant value that corresponds to the
type of the policy object.
|
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()
PolicyOperations
policy_type
in interface PolicyOperations
public Policy copy()
PolicyOperations
Policy
object. The copy does not retain
any relationships that the policy had with any domain or object.copy
in interface PolicyOperations
Policy
objectpublic void destroy()
PolicyOperations
Policy
object. It is the responsibility of
the Policy
object to determine whether it can be destroyed.destroy
in interface PolicyOperations
Copyright © 2019 JBoss by Red Hat. All rights reserved.