VisiBroker for Java

com.inprise.vbroker.extension
Class Policy

java.lang.Object
  extended by com.inprise.vbroker.extension.Policy
All Implemented Interfaces:
java.io.Serializable, IDLEntity

public final class Policy
extends java.lang.Object
implements IDLEntity

Describes the policy that the OAD should use regarding the sharing of launched servers across multiple clients.
SHARED_SERVER -- Multiple clients of a given object share the same implementation. Only one client is activated by an OAD at a particular time.
UNSHARED_SERVER -- Only one client of a given implementation will ever be bound to the activated server. If multiple clients wish to bind to the same object implementation, a separate server is activated for each client. A server exits when its client application disconnects or exits.

See Also:
Serialized Form

Field Summary
static int _SHARED_SERVER
           
static int _UNSHARED_SERVER
           
static Policy SHARED_SERVER
           
static Policy UNSHARED_SERVER
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
static Policy from_int(int _vis_value)
           
 int hashCode()
           
 java.lang.String toString()
           
 int value()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_SHARED_SERVER

public static final int _SHARED_SERVER
See Also:
Constant Field Values

_UNSHARED_SERVER

public static final int _UNSHARED_SERVER
See Also:
Constant Field Values

SHARED_SERVER

public static final Policy SHARED_SERVER

UNSHARED_SERVER

public static final Policy UNSHARED_SERVER
Method Detail

value

public int value()

from_int

public static Policy from_int(int _vis_value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online