Package org.wso2.carbon.registry.api
Class GhostResource<T>
- java.lang.Object
-
- org.wso2.carbon.registry.api.GhostResource<T>
-
- All Implemented Interfaces:
Serializable
public class GhostResource<T> extends Object implements Serializable
This class contains a reference to a resource that will be dynamically populated into the cache.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GhostResource(T resource)Creates a new entry to be cached.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetResource()Method to obtain the encapsulated resource.voidsetResource(T resource)Method to change the encapsulated resource.
-
-
-
Constructor Detail
-
GhostResource
public GhostResource(T resource)
Creates a new entry to be cached.- Parameters:
resource- the encapsulated resource.
-
-