ThreadSafeAccess.AccessControl (Mule ESB 2.2.1 API)
Keywords: org.mule.api.ThreadSafeAccess.AccessControl class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.api
Class ThreadSafeAccess.AccessControl

    java.lang.Object
      org.mule.api.ThreadSafeAccess.AccessControl

Enclosing interface:
  ThreadSafeAccess

    public static class ThreadSafeAccess.AccessControl

extends Object

This helper class can be used by code implementing this interface to determine whether the thread safety of a message should be enforced or not.

Constructor Summary
`ThreadSafeAccess.AccessControl()`

Method Summary
`static boolean` | `isAssertMessageAccess()`
`static boolean` | `isFailOnMessageScribbling()` Should we fail when we detect "message scribbling"?
`static void` | `setAssertMessageAccess(boolean flag)`
`static void` | `setFailOnMessageScribbling(boolean flag)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ThreadSafeAccess.AccessControl

    public ThreadSafeAccess.AccessControl()

Method Detail

### isAssertMessageAccess

    public static boolean isAssertMessageAccess()

### setAssertMessageAccess

    public static void setAssertMessageAccess(boolean flag)

### isFailOnMessageScribbling

    public static boolean isFailOnMessageScribbling()

  Should we fail when we detect "message scribbling"?

  See Also:
    `AbstractMessageAdapter.checkMutable()`

### setFailOnMessageScribbling

    public static void setFailOnMessageScribbling(boolean flag)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.