Package org.wildfly.naming.client
Interface NamingCloseable
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
CloseableNamingEnumeration<T>
A common interface for naming entities which may be closed.
- Author:
- David M. Lloyd
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NamingCloseableAn instance which performs no action on close. -
Method Summary
-
Field Details
-
NULL
An instance which performs no action on close.
-
-
Method Details
-
close
Close this object.- Specified by:
closein interfaceAutoCloseable- Throws:
NamingException- if closing this object failed for some reason
-