public class RequestGuardFactory extends Object
| Constructor and Description |
|---|
RequestGuardFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
guard(T target,
RequestType requestExpected)
Returns the guarded object checking whether the request of the given type
is done during each method invocation.
|
public static <T> T guard(T target,
RequestType requestExpected)
RequestGuardException is thrown.T - type of the given targettarget - object to be guardedrequestExpected - the request type being checked after each method invocationCopyright © 2012 JBoss by Red Hat. All Rights Reserved.