public interface NamingCloseable extends AutoCloseable
Modifier and Type | Field and Description |
---|---|
static NamingCloseable |
NULL
An instance which performs no action on close.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this object.
|
static final NamingCloseable NULL
void close() throws NamingException
close
in interface AutoCloseable
NamingException
- if closing this object failed for some reasonCopyright © 2019 JBoss by Red Hat. All rights reserved.