com.sun.sgs.impl.kernel
Enum StandardProperties.StandardService

java.lang.Object
  extended by java.lang.Enum<StandardProperties.StandardService>
      extended by com.sun.sgs.impl.kernel.StandardProperties.StandardService
All Implemented Interfaces:
Serializable, Comparable<StandardProperties.StandardService>
Enclosing class:
StandardProperties

public static enum StandardProperties.StandardService
extends Enum<StandardProperties.StandardService>

An enumeration of the known, standard Services. The ordering represents the order in which the services are started. Each NodeType will start up each service in the order specified up to and including the last service configured for that particular NodeType. The last service is respectively specified for each node with the LAST_APP_SERVICE, LAST_SINGLE_SERVICE, and LAST_CORE_SERVICE attributes. Any additional configured services will then be started after this last service. Care should therefore be taken for additional services to only depend on standard services that are started on a particular NodeType.


Enum Constant Summary
ChannelService
          Enumeration for the Channel Service.
ClientSessionService
          Enumeration for the Client Session Service.
DataService
          Enumeration for the Data Service.
NodeMappingService
          Enumeration for the Node Mapping Service.
TaskService
          Enumeration for the Task Service.
WatchdogService
          Enumeration for the Watchdog Service.
 
Field Summary
static StandardProperties.StandardService LAST_APP_SERVICE
          The last service that gets configured for an appNode.
static StandardProperties.StandardService LAST_CORE_SERVICE
          The last service that gets configured for a coreServerNode.
static StandardProperties.StandardService LAST_SINGLE_SERVICE
          The last service that gets configured for a singleNode.
 
Method Summary
static StandardProperties.StandardService valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StandardProperties.StandardService[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DataService

public static final StandardProperties.StandardService DataService
Enumeration for the Data Service.


WatchdogService

public static final StandardProperties.StandardService WatchdogService
Enumeration for the Watchdog Service.


NodeMappingService

public static final StandardProperties.StandardService NodeMappingService
Enumeration for the Node Mapping Service.


TaskService

public static final StandardProperties.StandardService TaskService
Enumeration for the Task Service.


ClientSessionService

public static final StandardProperties.StandardService ClientSessionService
Enumeration for the Client Session Service.


ChannelService

public static final StandardProperties.StandardService ChannelService
Enumeration for the Channel Service.

Field Detail

LAST_APP_SERVICE

public static final StandardProperties.StandardService LAST_APP_SERVICE
The last service that gets configured for an appNode.


LAST_SINGLE_SERVICE

public static final StandardProperties.StandardService LAST_SINGLE_SERVICE
The last service that gets configured for a singleNode.


LAST_CORE_SERVICE

public static final StandardProperties.StandardService LAST_CORE_SERVICE
The last service that gets configured for a coreServerNode.

Method Detail

values

public static StandardProperties.StandardService[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (StandardProperties.StandardService c : StandardProperties.StandardService.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StandardProperties.StandardService valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved