Class JCoConnectionEvent
java.lang.Object
java.util.EventObject
de.hybris.platform.sap.core.jco.connection.impl.ConnectionEvent
de.hybris.platform.sap.core.jco.connection.JCoConnectionEvent
- All Implemented Interfaces:
Serializable
This object contains information about a JCo Connection event.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intId which indicates that the event has been fired after a JCo Function module has been called.static final intId which indicates that the event has been fired just before a JCo Function module has been called.Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionJCoConnectionEvent(Object source, com.sap.conn.jco.JCoFunction function, int id) Creates a event object. -
Method Summary
Modifier and TypeMethodDescriptioncom.sap.conn.jco.JCoFunctionReturns a JCo function if this event is related with a call of a JCo function.intgetId()Returns an id which indicates what kind of event it is.Methods inherited from class de.hybris.platform.sap.core.jco.connection.impl.ConnectionEvent
getRequestContextMethods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
BEFORE_JCO_FUNCTION_CALL
public static final int BEFORE_JCO_FUNCTION_CALLId which indicates that the event has been fired just before a JCo Function module has been called.- See Also:
-
AFTER_JCO_FUNCTION_CALL
public static final int AFTER_JCO_FUNCTION_CALLId which indicates that the event has been fired after a JCo Function module has been called.- See Also:
-
-
Constructor Details
-
JCoConnectionEvent
Creates a event object.- Parameters:
source- the source of the eventfunction- a JCoFunctionid- id indicating what kind of event it is
-
-
Method Details
-
getFunction
public com.sap.conn.jco.JCoFunction getFunction()Returns a JCo function if this event is related with a call of a JCo function.- Returns:
- a JCo function if this event is related with a call of a JCo function
-
getId
public int getId()Returns an id which indicates what kind of event it is.- Returns:
- id indicating what kind of event it is
-