Class ConnectionEvent

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    JCoConnectionEvent

    public class ConnectionEvent
    extends java.util.EventObject
    This class provides information on a connection event The BackendContext and Request Context can be used to exchange data with other layers.
    See Also:
    RequestContext, Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectionEvent​(java.lang.Object source)
      Constructs an event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RequestContext getRequestContext()
      Returns the request context.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConnectionEvent

        public ConnectionEvent​(java.lang.Object source)
        Constructs an event.
        Parameters:
        source - the source of the event
    • Method Detail

      • getRequestContext

        public RequestContext getRequestContext()
        Returns the request context. This context can be used to pass data between layers of the framework. The context has the scope of an request (HTTP request).

        NOTE:
        This context MUST NOT be used in standard development. It is a tool for quickly extending the functionality of the standard in CUSTOMER projects.

        Returns:
        the request context