Package com.sun.corba.ee.impl.oa.poa
Class ServantRetentionPolicyImpl
java.lang.Object
org.omg.CORBA.LocalObject
com.sun.corba.ee.impl.oa.poa.ServantRetentionPolicyImpl
- All Implemented Interfaces:
Serializable,Object,Policy,PolicyOperations,IDLEntity,ServantRetentionPolicy,ServantRetentionPolicyOperations
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _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_connectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.omg.CORBA.Object
_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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
value
-
-
Constructor Details
-
ServantRetentionPolicyImpl
-
-
Method Details
-
value
Description copied from interface:ServantRetentionPolicyOperationsspecifies the policy value- Specified by:
valuein interfaceServantRetentionPolicyOperations- Returns:
- the policy value
-
policy_type
public int policy_type()Description copied from interface:PolicyOperationsReturns the constant value that corresponds to the type of the policy object. The values of the policy objects are allocated by the OMG. New values for PolicyType should be obtained from the OMG by sending mail to request@omg.org. In general the constant values that are allocated are defined in conjunction with the definition of the corresponding policy object.- Specified by:
policy_typein interfacePolicyOperations- Returns:
- the constant value that corresponds to the type of the policy object
-
copy
Description copied from interface:PolicyOperationsReturns a copy of thePolicyobject. The copy does not retain any relationships that the policy had with any domain or object.- Specified by:
copyin interfacePolicyOperations- Returns:
- a copy of the
Policyobject
-
destroy
public void destroy()Description copied from interface:PolicyOperationsDestroys thePolicyobject. It is the responsibility of thePolicyobject to determine whether it can be destroyed.- Specified by:
destroyin interfacePolicyOperations
-
toString
-