com.j_spaces.core.filters
Class FilterOperationCodes

java.lang.Object
  extended by com.j_spaces.core.filters.FilterOperationCodes

public class FilterOperationCodes
extends Object

This class declares static fields for filter operation codes.


Field Summary
static int AFTER_ALL_NOTIFY_TRIGGER
          After all notify trigger operation, indicates that all notify templates that are matched to the current entry event were triggered and returned or failed.
static int AFTER_NOTIFY_TRIGGER
          After notify trigger operation, indicates that a notify trigger was successful.
static int AFTER_READ_MULTIPLE
          After readMultiple operation.
static int AFTER_REMOVE
          Called after entry remove due to lease expression or lease cancel.
static int AFTER_TAKE_MULTIPLE
          After takeMultiple operation.
static int AFTER_UPDATE
          After update operation.
static int AFTER_WRITE
          After write operation.
static int BEFORE_ALL_NOTIFY_TRIGGER
          Before all notify trigger operation, indicates that at least one notify template is matched to the current entry event.
static int BEFORE_CLEAN_SPACE
          Before clean operation.
static int BEFORE_EXECUTE
          Before execute operation.
static int BEFORE_GETADMIN
          Before getAdmin operation.
static int BEFORE_NOTIFY
          Before notify register operation.
static int BEFORE_NOTIFY_TRIGGER
          Before notify trigger operation, indicates that a matched notify template was found to the current entry event.
static int BEFORE_READ
          Before read operation.
static int BEFORE_READ_MULTIPLE
          Before readMultiple operation.
static int BEFORE_REMOVE
          Called before entry remove due to lease expression or lease cancel.
static int BEFORE_TAKE
          Before take operation.
static int BEFORE_TAKE_MULTIPLE
          Before takeMultiple operation.
static int BEFORE_UPDATE
          Before update operation.
static int BEFORE_WRITE
          Before write operation.
static int MAX_FILTER_OPERATION_CODES
           
static int MAX_SECURITY_FILTER_OPERATION_CODES
           
static int ON_INIT
          Deprecated. this operation code is deprecated. There is no need for ON_INIT , since when filter's init() is called the space is already initialized
static int SET_SECURITY
          On setSecurityContext operation.
 
Method Summary
static int getCount()
          Return the number of all filter operation codes.
static int getMaxValue()
          Return the max value of the operation codes.
static String operationCodeToString(Integer code)
          Return a string representation of operation code.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEFORE_WRITE

public static final int BEFORE_WRITE
Before write operation.

See Also:
JavaSpace.write(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, long), Constant Field Values

AFTER_WRITE

public static final int AFTER_WRITE
After write operation.

See Also:
JavaSpace.write(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, long), Constant Field Values

BEFORE_READ

public static final int BEFORE_READ
Before read operation.

See Also:
JavaSpace.read(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, long), Constant Field Values

BEFORE_TAKE

public static final int BEFORE_TAKE
Before take operation.

See Also:
JavaSpace.take(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, long), Constant Field Values

BEFORE_NOTIFY

public static final int BEFORE_NOTIFY
Before notify register operation.

See Also:
JavaSpace.notify(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, net.jini.core.event.RemoteEventListener, long, java.rmi.MarshalledObject), Constant Field Values

BEFORE_GETADMIN

public static final int BEFORE_GETADMIN
Before getAdmin operation.

See Also:
IServerAdmin.getAdmin(), Constant Field Values

SET_SECURITY

public static final int SET_SECURITY
On setSecurityContext operation.

See Also:
IProxyAdmin.setSecurityContext(com.j_spaces.core.SecurityContext), Constant Field Values

BEFORE_CLEAN_SPACE

public static final int BEFORE_CLEAN_SPACE
Before clean operation.

See Also:
IServerAdmin.clean(), Constant Field Values

BEFORE_UPDATE

public static final int BEFORE_UPDATE
Before update operation.

See Also:
IJSpace.update(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, long, long, int), Constant Field Values

AFTER_UPDATE

public static final int AFTER_UPDATE
After update operation.

See Also:
IJSpace.update(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, long, long, int), Constant Field Values

BEFORE_READ_MULTIPLE

public static final int BEFORE_READ_MULTIPLE
Before readMultiple operation.

See Also:
IJSpace.readMultiple(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, int), Constant Field Values

AFTER_READ_MULTIPLE

public static final int AFTER_READ_MULTIPLE
After readMultiple operation.

See Also:
IJSpace.readMultiple(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, int), Constant Field Values

BEFORE_TAKE_MULTIPLE

public static final int BEFORE_TAKE_MULTIPLE
Before takeMultiple operation.

See Also:
IJSpace.takeMultiple(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, int), Constant Field Values

AFTER_TAKE_MULTIPLE

public static final int AFTER_TAKE_MULTIPLE
After takeMultiple operation.

See Also:
IJSpace.takeMultiple(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, int), Constant Field Values

BEFORE_NOTIFY_TRIGGER

public static final int BEFORE_NOTIFY_TRIGGER
Before notify trigger operation, indicates that a matched notify template was found to the current entry event.

See Also:
RemoteEventListener.notify(net.jini.core.event.RemoteEvent), Constant Field Values

AFTER_NOTIFY_TRIGGER

public static final int AFTER_NOTIFY_TRIGGER
After notify trigger operation, indicates that a notify trigger was successful.

See Also:
RemoteEventListener.notify(net.jini.core.event.RemoteEvent), Constant Field Values

BEFORE_ALL_NOTIFY_TRIGGER

public static final int BEFORE_ALL_NOTIFY_TRIGGER
Before all notify trigger operation, indicates that at least one notify template is matched to the current entry event.

See Also:
RemoteEventListener.notify(net.jini.core.event.RemoteEvent), Constant Field Values

AFTER_ALL_NOTIFY_TRIGGER

public static final int AFTER_ALL_NOTIFY_TRIGGER
After all notify trigger operation, indicates that all notify templates that are matched to the current entry event were triggered and returned or failed.

See Also:
RemoteEventListener.notify(net.jini.core.event.RemoteEvent), Constant Field Values

BEFORE_EXECUTE

public static final int BEFORE_EXECUTE
Before execute operation.

See Also:
ISpaceProxy.execute(SpaceTask, Transaction, AsyncFutureListener), ISpaceProxy.execute(DistributedSpaceTask, Transaction, AsyncFutureListener), Constant Field Values

ON_INIT

@Deprecated
public static final int ON_INIT
Deprecated. this operation code is deprecated. There is no need for ON_INIT , since when filter's init() is called the space is already initialized
On space init. Can be used ONLY in non-security filters. (no SpaceContext is available when the filter is called)

See Also:
Constant Field Values

BEFORE_REMOVE

public static final int BEFORE_REMOVE
Called before entry remove due to lease expression or lease cancel.

See Also:
Lease.cancel(), Constant Field Values

AFTER_REMOVE

public static final int AFTER_REMOVE
Called after entry remove due to lease expression or lease cancel.

See Also:
Lease.cancel(), Constant Field Values

MAX_FILTER_OPERATION_CODES

public static final int MAX_FILTER_OPERATION_CODES
See Also:
Constant Field Values

MAX_SECURITY_FILTER_OPERATION_CODES

public static final int MAX_SECURITY_FILTER_OPERATION_CODES
See Also:
Constant Field Values
Method Detail

operationCodeToString

public static String operationCodeToString(Integer code)
Return a string representation of operation code.

Returns:
string representation of the operation code.

getCount

public static int getCount()
Return the number of all filter operation codes.

Returns:
the number of all filter operation codes.

getMaxValue

public static int getMaxValue()
Return the max value of the operation codes.

Returns:
the max value of the operation codes.