public class ResourceGateway extends Object
| Constructor and Description |
|---|
ResourceGateway() |
| Modifier and Type | Method and Description |
|---|---|
void |
acquiredResource()
used to indicate the gateway that a resource is acquired.
|
boolean |
allowed()
indicates whether resource access is allowed or not.
|
protected static void |
debug(String debugStatement) |
static ResourceGateway |
getInstance(String className) |
protected static final Logger _logger
public boolean allowed()
public void acquiredResource()
public static ResourceGateway getInstance(String className) throws PoolingException
PoolingExceptionprotected static void debug(String debugStatement)
Copyright © 2017. All rights reserved.