org.xwiki.observation.remote.internal
Class DefaultRemoteObservationManagerContext

java.lang.Object
  extended by org.xwiki.observation.remote.internal.DefaultRemoteObservationManagerContext
All Implemented Interfaces:
RemoteObservationManagerContext

@Component
@Singleton
public class DefaultRemoteObservationManagerContext
extends java.lang.Object
implements RemoteObservationManagerContext

Manager context properties specific to remote events.

Since:
2.0M3
Version:
$Id$

Constructor Summary
DefaultRemoteObservationManagerContext()
           
 
Method Summary
 boolean isRemoteState()
          
 void popRemoteState()
          Set the remote state to false.
 void pushRemoteState()
          Set the remote state to true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRemoteObservationManagerContext

public DefaultRemoteObservationManagerContext()
Method Detail

isRemoteState

public boolean isRemoteState()

Specified by:
isRemoteState in interface RemoteObservationManagerContext
Returns:
indicate if the event in the current thread is a remote event
See Also:
RemoteObservationManagerContext.isRemoteState()

pushRemoteState

public void pushRemoteState()
Set the remote state to true.

Specified by:
pushRemoteState in interface RemoteObservationManagerContext
See Also:
RemoteObservationManagerContext.pushRemoteState()

popRemoteState

public void popRemoteState()
Set the remote state to false.

Specified by:
popRemoteState in interface RemoteObservationManagerContext
See Also:
RemoteObservationManagerContext.popRemoteState()


Copyright © 2004-2011 XWiki. All Rights Reserved.