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

## ix.util.context
Class ContextLockingProxy

    java.lang.Object
      ix.util.context.ContextLockingProxy

    public class ContextLockingProxy

extends java.lang.Object

Provides a static method that can be used to wrap a context-managing proxy around an object.

Nested Class Summary
`static class` | `ContextLockingProxy.Handler` The invocation-handler for a context-locking proxy.

Method Summary
`static
`<T> T`
` | `newProxyInstance(java.lang.Class<T> interfaceClass, java.lang.Object instance)` Creates a proxy around the specified instance of the interface.

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

Method Detail

### newProxyInstance

    public static <T> T newProxyInstance(java.lang.Class<T> interfaceClass,
                                         java.lang.Object instance)

  Creates a proxy around the specified instance of the interface. The invocation handler will be a `ContextLockingProxy.Handler`, and the handler's where everything interesting happens.

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