Package org.jvnet.hk2.internal
Interface Closeable
- All Known Implementing Classes:
SystemDescriptor
public interface Closeable
A closeable object is one that can be closed once, and
can not be opened again
-
Method Summary
-
Method Details
-
close
boolean close()Idempotent close method. Returns true if the instance had already been closed- Returns:
- true if the object had already been closed, false otherwise
-
isClosed
boolean isClosed()Returns true if the instance has been closed- Returns:
- true if the object is closed
-