org.mule.api.component
Interface LifecycleAdapter

All Superinterfaces:
Disposable, Initialisable, Lifecycle, Startable, Stoppable
All Known Implementing Classes:
DefaultLifecycleAdapter, NullLifecycleAdapter

public interface LifecycleAdapter
extends Lifecycle

LifecycleAdapter is a wrapper around a pojo service that adds Lifecycle methods to the pojo. It also associates the pojo service with its Service object.

See Also:
Service

Field Summary
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Method Summary
 Object invoke(MuleEvent message)
           
 boolean isDisposed()
           
 boolean isStarted()
           
 
Methods inherited from interface org.mule.api.lifecycle.Initialisable
initialise
 
Methods inherited from interface org.mule.api.lifecycle.Startable
start
 
Methods inherited from interface org.mule.api.lifecycle.Stoppable
stop
 
Methods inherited from interface org.mule.api.lifecycle.Disposable
dispose
 

Method Detail

isStarted

boolean isStarted()

isDisposed

boolean isDisposed()

invoke

Object invoke(MuleEvent message)
              throws MuleException
Throws:
MuleException


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