Class MountHandle
- java.lang.Object
-
- org.jboss.as.server.deployment.module.MountHandle
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class MountHandle extends Object implements Closeable
Wrapper object to hold onto and close a VFS mount handle. If the provided mount handle is null then no action will be taken.- Author:
- John E. Bailey, Jason T. Greene, Stuart Douglas
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Forcefully close this handle.static MountHandlecreate(Closeable handle)
-
-
-
Method Detail
-
create
public static MountHandle create(Closeable handle)
-
close
public void close()
Forcefully close this handle. Use with caution.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-