|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.EventObject
oracle.idm.connection.ConnectionEvent
public class ConnectionEvent
This class represents a connection event.
Nested Class Summary | |
---|---|
static class |
ConnectionEvent.CountInfo This class maintains connection event count information. |
Field Summary | |
---|---|
protected java.lang.String |
tag Tag used to print the connection as an XML element. |
Fields inherited from class java.util.EventObject |
---|
source |
Method Summary | |
---|---|
java.lang.Object |
clone() Clones the connection event. |
Connection |
getConnection() Returns the connection this event occurred on. |
ConnectionException |
getConnectionException() Returns the connection exception of this event. |
java.util.Collection |
getLocalizedMessages() Returns localized messages associated with this connection event. |
java.util.Collection |
getMessages() Returns messages associated with this connection event. |
java.lang.String |
getOperation() Returns the operation that triggered this event. |
java.util.Map |
getParameters() Returns the parameters for this operation. |
java.lang.String |
getStatus() Returns the status of this connection event. |
long |
getTimeStamp() Returns the connection event time stamp. |
java.lang.String |
getType() Returns the type of this connection event. |
boolean |
isAlteredConnection() Returns true if this is an altered connection event. |
boolean |
isLeakedConnection() Returns true if this is a leaked connection event. |
boolean |
isMatchingOperation(java.lang.String operation) Tests if the connection event operation value matches. |
boolean |
isMatchingStatus(java.lang.String status) Tests if the connection event status value matches. |
boolean |
isMatchingType(java.lang.String type) Tests if the connection event type value matches. |
void |
xprint(XmlPrintWriter out) Prints connection event properties to the PrintWriter as an XML element. |
protected void |
xprintBody(XmlPrintWriter out) This method prints the connection event XML tag body. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String tag
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public boolean isLeakedConnection()
public boolean isAlteredConnection()
public long getTimeStamp()
public java.lang.String getStatus()
public final boolean isMatchingStatus(java.lang.String status)
Every connection event matches the Connection.Status.EVERY value.
public java.lang.String getType()
public final boolean isMatchingType(java.lang.String type)
Every connection event matches the Connection.TYPE value.
public java.lang.String getOperation()
public final boolean isMatchingOperation(java.lang.String operation)
Every connection event matches the Connection.Operation.EVERY value.
public java.util.Map getParameters()
public Connection getConnection()
public ConnectionException getConnectionException()
public java.util.Collection getMessages()
This method collects messages form the operation and connection exception properties.
public java.util.Collection getLocalizedMessages()
This method collects localized messages form the operation and connection exception properties.
public void xprint(XmlPrintWriter out)
xprint
in interface XmlPrintable
out
- PrintWriter for printing connection event propeties.protected void xprintBody(XmlPrintWriter out)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |