Top Description Methods
org.jvnet.hk2.internal

public Interface Closeable

Known Direct Implementers
org.jvnet.hk2.internal.SystemDescriptor

A closeable object is one that can be closed once, and can not be opened again
Author
jwells

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the object had already been closed, false otherwise
close
()

Idempotent close method.

public boolean

Returns:

true if the object is closed
isClosed
()

Returns true if the instance has been closed

Method Detail

closeback to summary
public boolean close()

Idempotent close method. Returns true if the instance had already been closed

Returns:boolean

true if the object had already been closed, false otherwise

isClosedback to summary
public boolean isClosed()

Returns true if the instance has been closed

Returns:boolean

true if the object is closed