public class GhostResource<T> extends Object implements Serializable
| Constructor and Description |
|---|
GhostResource(T resource)
Creates a new entry to be cached.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getResource()
Method to obtain the encapsulated resource.
|
void |
setResource(T resource)
Method to change the encapsulated resource.
|
public GhostResource(T resource)
resource - the encapsulated resource.Copyright © 2018 WSO2 Inc. All rights reserved.