flex.messaging.services
Class AuthenticationService

java.lang.Object
  extended by flex.management.ManageableComponent
      extended by flex.messaging.services.AbstractService
          extended by flex.messaging.services.AuthenticationService
All Implemented Interfaces:
Manageable, FlexComponent, FlexConfigurable, Service

public class AuthenticationService
extends AbstractService


Field Summary
 
Fields inherited from class flex.messaging.services.AbstractService
LOG_CATEGORY, LOG_CATEGORY_STARTUP_DESTINATION
 
Constructor Summary
AuthenticationService()
           
AuthenticationService(boolean enableManagement)
           
 
Method Summary
static void decodeAndLogin(String encoded, LoginManager lm)
           
 ConfigMap describeService(Endpoint endpoint)
          Returns a ConfigMap service properties that the client needs.
 Object serviceCommand(CommandMessage msg)
          Handles a command routed to the service by the MessageBroker.
 Object serviceMessage(Message message)
          Processes messages by invoking the requested destination's adapter.
 void setId(String id)
          Sets the id of the AbstractService.
 
Methods inherited from class flex.messaging.services.AbstractService
addDefaultChannel, addDestination, createDestination, getDefaultAdapter, getDefaultChannels, getDestination, getDestination, getDestinations, getMessageBroker, getRegisteredAdapters, registerAdapter, removeDefaultChannel, removeDestination, setDefaultAdapter, setDefaultChannels, setMessageBroker, start, stop, unregisterAdapter
 
Methods inherited from class flex.management.ManageableComponent
getControl, getId, getParent, initialize, isManaged, isStarted, isValid, setControl, setManaged, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface flex.messaging.services.Service
getId
 
Methods inherited from interface flex.management.Manageable
getControl, isManaged, setControl, setManaged
 
Methods inherited from interface flex.messaging.FlexComponent
isStarted
 
Methods inherited from interface flex.messaging.FlexConfigurable
initialize
 

Constructor Detail

AuthenticationService

public AuthenticationService()

AuthenticationService

public AuthenticationService(boolean enableManagement)
Method Detail

setId

public void setId(String id)
Description copied from class: AbstractService
Sets the id of the AbstractService. If the AbstractService has a MessageBroker assigned, it also updates the id in the MessageBroker.

Specified by:
setId in interface Service
Overrides:
setId in class AbstractService
Parameters:
id - The id of the ManageableComponent.

describeService

public ConfigMap describeService(Endpoint endpoint)
Description copied from class: AbstractService
Returns a ConfigMap service properties that the client needs. By default, it returns null. Subclasses can override to return properties relevant to their implementation.

Specified by:
describeService in interface Service
Overrides:
describeService in class AbstractService
Parameters:
endpoint - Endpoint used to filter the destinations of the service.
Returns:
ConfigMap of service properties.

serviceMessage

public Object serviceMessage(Message message)
Description copied from class: AbstractService
Processes messages by invoking the requested destination's adapter. Subclasses should provide their implementation.

Specified by:
serviceMessage in interface Service
Specified by:
serviceMessage in class AbstractService
Parameters:
message - The message sent by the MessageBroker.
Returns:
The result of the service.

serviceCommand

public Object serviceCommand(CommandMessage msg)
Description copied from interface: Service
Handles a command routed to the service by the MessageBroker. Usually these are commands sent by one of the endpoints.

Specified by:
serviceCommand in interface Service
Overrides:
serviceCommand in class AbstractService
Parameters:
msg - The message sent by the MessageBroker.
Returns:
The result of the service.

decodeAndLogin

public static void decodeAndLogin(String encoded,
                                  LoginManager lm)


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/services/AuthenticationService.html