Package org.apache.cxf.io
Class DelayedCachedOutputStreamCleaner
- java.lang.Object
-
- org.apache.cxf.io.DelayedCachedOutputStreamCleaner
-
- All Implemented Interfaces:
BusLifeCycleListener
,CachedOutputStreamCleaner
public final class DelayedCachedOutputStreamCleaner extends Object implements CachedOutputStreamCleaner, BusLifeCycleListener
-
-
Constructor Summary
Constructors Constructor Description DelayedCachedOutputStreamCleaner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
Run the clean upvoid
forceClean()
void
initComplete()
Invoked when theBus
has been initialized.void
postShutdown()
Invoked after theBus
is shutdown.void
preShutdown()
Invoked before theBus
is shutdown.void
register(Closeable closeable)
Unregister the stream instance from the clean up (closed properly)void
setBus(Bus bus)
void
unregister(Closeable closeable)
Register the stream instance for the clean up
-
-
-
Method Detail
-
setBus
public void setBus(Bus bus)
-
register
public void register(Closeable closeable)
Description copied from interface:CachedOutputStreamCleaner
Unregister the stream instance from the clean up (closed properly)- Specified by:
register
in interfaceCachedOutputStreamCleaner
-
unregister
public void unregister(Closeable closeable)
Description copied from interface:CachedOutputStreamCleaner
Register the stream instance for the clean up- Specified by:
unregister
in interfaceCachedOutputStreamCleaner
-
clean
public void clean()
Description copied from interface:CachedOutputStreamCleaner
Run the clean up- Specified by:
clean
in interfaceCachedOutputStreamCleaner
-
initComplete
public void initComplete()
Description copied from interface:BusLifeCycleListener
Invoked when theBus
has been initialized.- Specified by:
initComplete
in interfaceBusLifeCycleListener
-
postShutdown
public void postShutdown()
Description copied from interface:BusLifeCycleListener
Invoked after theBus
is shutdown.- Specified by:
postShutdown
in interfaceBusLifeCycleListener
-
preShutdown
public void preShutdown()
Description copied from interface:BusLifeCycleListener
Invoked before theBus
is shutdown.- Specified by:
preShutdown
in interfaceBusLifeCycleListener
-
forceClean
public void forceClean()
-
-