public class EPPTestGenHandler extends java.lang.Object implements EPPEventHandler
EPPTestGenHandler class provides an test handler that loads
EPPTestGenMapFactory for testing the EPP General (gen) package.
The handler only needs to load the EPPTestGenMapFatory so that
the EPP Greeting will include at least one URI in the Object Services. EPPEventHandler,
EPPEvent| Constructor and Description |
|---|
EPPTestGenHandler()
Whenever an EPPTestGenHandler instance is created load the corresponsding
Map Factory into the Codec
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNamespace()
Returns the Namespace that this handler supports.
|
EPPEventResponse |
handleEvent(EPPEvent aEvent,
java.lang.Object aData)
This method receives an
EPPEvent and routes it to the
appropriate abstract method. |
protected void |
postHandleEvent(EPPEvent aEvent,
java.lang.Object aData)
Handles any common behavior that all test commands need to execute after
they execute their command specific behavior.
|
protected void |
preHandleEvent(EPPEvent aEvent,
java.lang.Object aData)
Handles any common behavior that all test commands need to execute before
they execute their command specific behavior.
|
public EPPTestGenHandler()
public final java.lang.String getNamespace()
getNamespace in interface EPPEventHandlerpublic final EPPEventResponse handleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPEventException
EPPEvent and routes it to the
appropriate abstract method.handleEvent in interface EPPEventHandleraEvent - An EPPEvent that contains the
EPPCommandaData - Any data that a Server needs to send to this
EPPContactHandler instanceEPPEventException - Thrown if an unrecognized EPPEvent is receivedprotected void preHandleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPHandleEventException
aEvent - The EPPEvent that is being handledaData - Any data that a Server needs to send to this
EPPTestGenHandlerEPPHandleEventException - Thrown if an error condition occurs. It must contain an
EPPEventResponseprotected void postHandleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPHandleEventException
aEvent - The EPPEvent that is being handledaData - Any data that a Server needs to send to this
EPPTestGenHandlerEPPHandleEventException - Thrown if an error condition occurs. It must contain an
EPPEventResponse