org.mule.impl.model.resolvers
Class StreamingEntryPoint
java.lang.Object
org.mule.impl.model.resolvers.StreamingEntryPoint
- All Implemented Interfaces:
- UMOEntryPoint
public class StreamingEntryPoint
- extends Object
- implements UMOEntryPoint
Will discover the correct entrypoint to invoke when an event is received. The
follow are checked for - 1. If the component implements
StreamingService
this will be used 2. It
will look of a method that accepts an InputStream
and
OutputStream
3. It will look for a method that accepts an
InputStream
only If none of these criteria are meet, and exception
will be thrown.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final Log logger
StreamingEntryPoint
public StreamingEntryPoint()
initialise
public void initialise(Object component)
throws Exception
- Throws:
Exception
invoke
public Object invoke(Object component,
UMOEventContext context)
throws Exception
- Specified by:
invoke
in interface UMOEntryPoint
- Throws:
Exception
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.