This conceptual diagram illustrates Java component technologies. The above image shows a list of classes that implement autoclosable, a new interface introduced in Java SE 7 that provides a void method named close() that may throw a checked exception. The try-with-resources statement can be used 'out of the box' with objects of these classes. Java Platform, Standard Edition API specification.