|
Oracle Containers for J2EE Job Scheduler Java API Reference 10g Release 3 (10.1.3) B16026-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ias.scheduler.Notification
The application developer uses this system-supplied class to specify a notification. Each notification has a name, composed of a sequence of one or more alphanumeric characters. This name is used to identify the occurrence of an application-level event.
Scheduler.notify(oracle.ias.scheduler.Notification)
,
Serialized FormField Summary | |
static java.lang.String |
REPLAY
|
static java.lang.String |
RETRY
|
static java.lang.String |
TIMEOUT
|
Constructor Summary | |
protected |
Notification()
Constructs a notification with no name. |
|
Notification(java.lang.String name)
Constructs a notification with the name specified. |
Method Summary | |
boolean |
equals(java.lang.Object v)
Indicates whether some object is "equal to" this one. |
java.lang.String |
getName()
Gets the name of the notification. |
int |
hashCode()
Returns a hash code value for the schedule. |
void |
setName(java.lang.String name)
Sets the notification name. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String TIMEOUT
public static final java.lang.String REPLAY
public static final java.lang.String RETRY
Constructor Detail |
protected Notification()
public Notification(java.lang.String name) throws InvalidArgumentException
name
- The name of the notification.
InvalidArgumentException
- If the name is null, empty, or
contains non-alphanumeric characters.Method Detail |
public void setName(java.lang.String name) throws InvalidArgumentException
name
- The name of the notification.
InvalidArgumentException
- If the name is null,
zero-length, reserved, or contains non-alphanumeric characters.public java.lang.String getName()
public int hashCode()
public boolean equals(java.lang.Object v)
|
Oracle Containers for J2EE Job Scheduler Java API Reference 10g Release 3 (10.1.3) B16026-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |