Java EE 5 SDK

com.sun.appserv.management.config
Interface ServerRefConfigCR

All Superinterfaces:
ConfigRemover
All Known Subinterfaces:
ClusterConfig, LBConfig

public interface ServerRefConfigCR
extends ConfigRemover

Supports creation and removal of server references.


Field Summary
static String DISABLE_TIMEOUT_IN_MINUTES_KEY
           
static String ENABLED_KEY
           
static String LB_ENABLED_KEY
           
 
Method Summary
 ServerRefConfig createServerRefConfig(String referencedServerName, Map<String,String> optional)
          Creates a new server-ref.
 ServerRefConfig createServerRefConfig(String referencedServerName, String disableTimeoutInMinutes, boolean lbEnabled, boolean enabled)
          Creates a new server-ref.
 void removeServerRefConfig(String name)
           
 
Methods inherited from interface com.sun.appserv.management.config.ConfigRemover
removeConfig
 

Field Detail

ENABLED_KEY

static final String ENABLED_KEY
See Also:
Constant Field Values

LB_ENABLED_KEY

static final String LB_ENABLED_KEY
See Also:
Constant Field Values

DISABLE_TIMEOUT_IN_MINUTES_KEY

static final String DISABLE_TIMEOUT_IN_MINUTES_KEY
See Also:
Constant Field Values
Method Detail

createServerRefConfig

ServerRefConfig createServerRefConfig(String referencedServerName,
                                      Map<String,String> optional)
Creates a new server-ref.

Parameters:
referencedServerName - name of the server.
optional - Map of optional attributes. Valid keys are defined here.
Returns:
A proxy to the ServerRefConfig MBean.

createServerRefConfig

ServerRefConfig createServerRefConfig(String referencedServerName,
                                      String disableTimeoutInMinutes,
                                      boolean lbEnabled,
                                      boolean enabled)
Creates a new server-ref.

Parameters:
referencedServerName - name of the server.
disableTimeoutInMinutes -
lbEnabled -
enabled -
Returns:
A proxy to the ServerRefConfig MBean.

removeServerRefConfig

void removeServerRefConfig(String name)

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.