1 10 11 package org.mule.umo; 12 13 import org.mule.umo.lifecycle.Initialisable; 14 import org.mule.umo.lifecycle.Lifecycle; 15 16 import java.io.Serializable ; 17 18 26 27 public interface UMOComponent extends Serializable , Lifecycle, Initialisable 28 { 29 33 UMODescriptor getDescriptor(); 34 35 41 void dispatchEvent(UMOEvent event) throws UMOException; 42 43 51 UMOMessage sendEvent(UMOEvent event) throws UMOException; 52 53 58 boolean isStarted(); 59 60 69 Object getInstance() throws UMOException; 70 71 76 void pause() throws UMOException; 77 78 82 void resume() throws UMOException; 83 84 89 boolean isPaused(); 90 } 91 | Popular Tags |