T
- the type of the instancepublic class SimpleResourceReference<T> extends Object implements ResourceReference<T>, Serializable
Constructor and Description |
---|
SimpleResourceReference(T instance) |
Modifier and Type | Method and Description |
---|---|
T |
getInstance()
Get the instance of the resource
|
void |
release()
Release the resource instance
|
public SimpleResourceReference(T instance)
public T getInstance()
ResourceReference
getInstance
in interface ResourceReference<T>
public void release()
ResourceReference
release
in interface ResourceReference<T>
Copyright © 2008-2015. All Rights Reserved.