org.glassfish.hk2
Interface Releasable

All Known Subinterfaces:
Bindings, ManagedComponentProvider<T>

public interface Releasable

Represents something that can be active or inactive, and released.

Author:
Jeff Trent, Tom Beerbower

Method Summary
 boolean isActive()
           
 void release()
          Release the component/service if active.
 

Method Detail

isActive

boolean isActive()
Returns:
true if the component/service is currently active

release

void release()
Release the component/service if active.



Copyright © 2011 Oracle Corporation. All Rights Reserved.