public class ImmediateInstanceHandle<T> extends Object implements InstanceHandle<T>
Constructor and Description |
---|
ImmediateInstanceHandle(T instance) |
Modifier and Type | Method and Description |
---|---|
T | getInstance() |
void | release() releases the instance, uninjecting and calling an pre-destroy methods as appropriate |
public ImmediateInstanceHandle(T instance)
public T getInstance()
getInstance
in interface InstanceHandle<T>
public void release()
InstanceHandle
release
in interface InstanceHandle<T>
Copyright © 2015 JBoss by Red Hat. All rights reserved.