01: /*
02: * $Id: LifecycleAdapter.java 11379 2008-03-17 02:46:56Z dfeist $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
10:
11: package org.mule.api.component;
12:
13: import org.mule.api.interceptor.Interceptor;
14: import org.mule.api.lifecycle.Lifecycle;
15: import org.mule.api.service.Service;
16:
17: /**
18: * <code>LifecycleAdapter</code> is a wrapper around a pojo service that adds Lifecycle methods to the pojo. It also
19: * associates the pojo service with its {@link Service} object.
20: *
21: * @see Service
22: */
23: public interface LifecycleAdapter extends Lifecycle, Interceptor {
24: boolean isStarted();
25:
26: boolean isDisposed();
27:
28: }
|