flex.messaging
Interface FlexComponent

All Superinterfaces:
FlexConfigurable
All Known Subinterfaces:
Server, Service
All Known Implementing Classes:
AbstractBootstrapService, AbstractEndpoint, AbstractService, ActionScriptAdapter, AMFEndpoint, AuthenticationService, BaseHTTPEndpoint, BasePollingHTTPEndpoint, BaseStreamingHTTPEndpoint, Destination, FactoryDestination, HTTPEndpoint, HTTPProxyAdapter, HTTPProxyDestination, HTTPProxyService, JavaAdapter, JMSAdapter, LogManager, ManageableComponent, MessageBroker, MessageDestination, MessageService, MessagingAdapter, RemotingDestination, RemotingService, SecureAMFEndpoint, SecureHTTPEndpoint, SecureStreamingAMFEndpoint, SecureStreamingHTTPEndpoint, ServiceAdapter, SOAPProxyAdapter, StreamingAMFEndpoint, StreamingHTTPEndpoint

public interface FlexComponent
extends FlexConfigurable

Defines the lifecycle interface for FlexComponents, allowing the server to manage the running state of server components through a consistent interface.


Method Summary
 boolean isStarted()
          Indicates whether the component is started and running.
 void start()
          Invoked to start the component.
 void stop()
          Invoked to stop the component.
 
Methods inherited from interface flex.messaging.FlexConfigurable
initialize
 

Method Detail

start

void start()
Invoked to start the component. The FlexConfigurable.initialize(String, flex.messaging.config.ConfigMap) method inherited from the FlexConfigurable interface must be invoked before this method is invoked. Once this method returns, FlexComponent.isStarted() must return true.


stop

void stop()
Invoked to stop the component. Once this method returns, FlexComponent.isStarted() must return false.


isStarted

boolean isStarted()
Indicates whether the component is started and running.

Returns:
true if the component has started; otherwise false.


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/FlexComponent.html