Package org.wildfly.naming.client
Interface NamingCloseable
-
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
CloseableNamingEnumeration<T>
public interface NamingCloseable extends AutoCloseable
A common interface for naming entities which may be closed.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description static NamingCloseableNULLAn instance which performs no action on close.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Close this object.
-
-
-
Field Detail
-
NULL
static final NamingCloseable NULL
An instance which performs no action on close.
-
-
Method Detail
-
close
void close() throws NamingExceptionClose this object.- Specified by:
closein interfaceAutoCloseable- Throws:
NamingException- if closing this object failed for some reason
-
-