|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.connection.ConnectionFactoryEvent
public class ConnectionFactoryEvent
A class used to notify factory users of important events such as factory shutdown.
Field Summary | |
---|---|
static int |
TYPE_DESTROYED
Event type indicating factory destruction. |
static int |
TYPE_FATAL_EXCEPTION
Event type indicating a fatal error which renders the factory unusable. |
static int |
TYPE_SHUTDOWN
Event type indicating factory shutdown. |
Constructor Summary | |
---|---|
protected |
ConnectionFactoryEvent(int type)
|
protected |
ConnectionFactoryEvent(int type,
java.lang.Object info)
|
Method Summary | |
---|---|
java.lang.Object |
getInfo()
Get the event parameter (if any). |
int |
getType()
Get the event type. |
Field Detail |
---|
public static final int TYPE_SHUTDOWN
getType()
,
Constant Field Valuespublic static final int TYPE_DESTROYED
getType()
,
Constant Field Valuespublic static final int TYPE_FATAL_EXCEPTION
getType()
,
Constant Field ValuesConstructor Detail |
---|
protected ConnectionFactoryEvent(int type)
protected ConnectionFactoryEvent(int type, java.lang.Object info)
Method Detail |
---|
public int getType()
TYPE_SHUTDOWN
,
TYPE_DESTROYED
,
TYPE_FATAL_EXCEPTION
public java.lang.Object getInfo()
TYPE_SHUTDOWN
null
TYPE_DESTROYED
null
TYPE_FATAL_EXCEPTION
FatalConnectionFactoryException
null
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |