org.mule.impl.model.resolvers
Class StreamingEntryPoint

java.lang.Object
  extended byorg.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.


Field Summary
protected static Log logger
           
 
Constructor Summary
StreamingEntryPoint()
           
 
Method Summary
 void initialise(Object component)
           
 Object invoke(Object component, UMOEventContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final Log logger
Constructor Detail

StreamingEntryPoint

public StreamingEntryPoint()
Method Detail

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.