org.jboss.weld.injection.spi
Interface ResourceReference<T>

Type Parameters:
T - the type of the resource
All Known Implementing Classes:
SimpleResourceReference

public interface ResourceReference<T>

Holds a reference to a resource instance.

Author:
Jozef Hartinger, Stuart Douglas

Method Summary
 T getInstance()
          Get the instance of the resource
 void release()
          Release the resource instance
 

Method Detail

getInstance

T getInstance()
Get the instance of the resource

Returns:
instance

release

void release()
Release the resource instance

Parameters:
instance -


Copyright © 2008-2012 Seam Framework. All Rights Reserved.