org.mule.util
Class DefaultStreamCloserService

java.lang.Object
  extended by org.mule.util.DefaultStreamCloserService
All Implemented Interfaces:
MuleContextAware, StreamCloserService

public class DefaultStreamCloserService
extends Object
implements StreamCloserService

Closes streams of different types by looking up available StreamCloser's from the Mule registry.


Constructor Summary
DefaultStreamCloserService()
           
 
Method Summary
 void closeStream(Object stream)
           
 void setMuleContext(MuleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStreamCloserService

public DefaultStreamCloserService()
Method Detail

closeStream

public void closeStream(Object stream)
Specified by:
closeStream in interface StreamCloserService

setMuleContext

public void setMuleContext(MuleContext context)
Specified by:
setMuleContext in interface MuleContextAware


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.