public class DefaultStreamCloserService extends Object implements StreamCloserService
StreamCloser's from the Mule registry.
StreamCloser instances are only fetched from the registry the first time the
closeStream(Object) method is called with a steam that cannot be closed by . Any other
closers added to the registry after that will be ignored| Constructor and Description |
|---|
DefaultStreamCloserService() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeStream(Object stream) |
void |
setMuleContext(MuleContext context) |
public void closeStream(Object stream)
closeStream in interface StreamCloserServicepublic void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarecontext - the Mule node.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.