com.endeca.infront.assembler.event.request
Class RequestEventFactory

java.lang.Object
  extended by com.endeca.infront.assembler.event.request.RequestEventFactory

public class RequestEventFactory
extends Object

Used to get the RequestEvent for the current Assembler request.


Constructor Summary
RequestEventFactory()
           
 
Method Summary
static RequestEvent getEvent()
           
protected static void initEvent()
          Initialize the RequestEvent for the current request.
static boolean isLoggingEnabled()
           
protected static void resetEvent()
          Reset the RequestEvent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestEventFactory

public RequestEventFactory()
Method Detail

isLoggingEnabled

public static boolean isLoggingEnabled()
Returns:
true if logging is enabled for the current request, false otherwise

initEvent

protected static void initEvent()
Initialize the RequestEvent for the current request. Should only be called at the beginning of a request.


resetEvent

protected static void resetEvent()
Reset the RequestEvent. Should only be called at the end of a request.


getEvent

public static RequestEvent getEvent()
Returns:
the RequestEvent object for the current request


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.