Apache CXF API

org.apache.cxf.transport.jms.util
Class ResourceCloser

java.lang.Object
  extended by org.apache.cxf.transport.jms.util.ResourceCloser
All Implemented Interfaces:
Closeable

public class ResourceCloser
extends Object
implements Closeable


Constructor Summary
ResourceCloser()
           
 
Method Summary
 void close()
           
 void close(Object... resources2)
           
static void close(Object resource)
           
<E> E
register(E resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceCloser

public ResourceCloser()
Method Detail

register

public <E> E register(E resource)

close

public void close()
Specified by:
close in interface Closeable

close

public void close(Object... resources2)

close

public static void close(Object resource)

Apache CXF API

Apache CXF