Java EE 5 SDK

com.sun.appserv.management.config
Interface DeployedItemRefConfigCR

All Superinterfaces:
ConfigRemover
All Known Subinterfaces:
ClusterConfig, StandaloneServerConfig

public interface DeployedItemRefConfigCR
extends ConfigRemover

Represents the capability to create or remove ("CR") an instance of the <application-ref> element.


Field Summary
static String DISABLE_TIMEOUT_IN_MINUTES_KEY
           
static String ENABLED_KEY
          Key for use with createDeployedItemRefConfig()
static String LB_ENABLED_KEY
           
static String REF_KEY
          Key for use with createDeployedItemRefConfig()
static String VIRTUAL_SERVERS_KEY
          Key for use with createDeployedItemRefConfig()
 
Method Summary
 DeployedItemRefConfig createDeployedItemRefConfig(boolean enabled, String referencedApplicationName, String virtualServers, boolean lbEnabled, int disableTimeoutInMinutes)
          Creates a new application-ref element.
 DeployedItemRefConfig createDeployedItemRefConfig(String referencedApplicationName)
          Creates a new application-ref element.
 DeployedItemRefConfig createDeployedItemRefConfig(String referencedApplicationName, Map<String,String> optional)
          Creates a new application-ref element.
 void removeDeployedItemRefConfig(String referencedApplicationName)
          Remove an existing <application-ref>
 
Methods inherited from interface com.sun.appserv.management.config.ConfigRemover
removeConfig
 

Field Detail

REF_KEY

static final String REF_KEY
Key for use with createDeployedItemRefConfig()

See Also:
Constant Field Values

ENABLED_KEY

static final String ENABLED_KEY
Key for use with createDeployedItemRefConfig()

See Also:
Constant Field Values

VIRTUAL_SERVERS_KEY

static final String VIRTUAL_SERVERS_KEY
Key for use with createDeployedItemRefConfig()

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

createDeployedItemRefConfig

DeployedItemRefConfig createDeployedItemRefConfig(String referencedApplicationName,
                                                  Map<String,String> optional)
Creates a new application-ref element.

Parameters:
referencedApplicationName - Application name.
optional - Map of optional aattributes whose keys are defined here.
Returns:
A proxy to the DeployedItemRefConfig MBean that manages the config of newly created application-ref.

createDeployedItemRefConfig

DeployedItemRefConfig createDeployedItemRefConfig(boolean enabled,
                                                  String referencedApplicationName,
                                                  String virtualServers,
                                                  boolean lbEnabled,
                                                  int disableTimeoutInMinutes)
Creates a new application-ref element.

Parameters:
enabled -
referencedApplicationName - Application name.
virtualServers - Comma separated list of virtual servers.
lbEnabled -
disableTimeoutInMinutes -
Returns:
A proxy to the DeployedItemRefConfig MBean that manages the config of newly created application-ref.

createDeployedItemRefConfig

DeployedItemRefConfig createDeployedItemRefConfig(String referencedApplicationName)
Creates a new application-ref element.

Parameters:
referencedApplicationName - Application name.
Returns:
A proxy to the DeployedItemRefConfig MBean that manages the config of newly created application-ref.

removeDeployedItemRefConfig

void removeDeployedItemRefConfig(String referencedApplicationName)
Remove an existing <application-ref>

Parameters:
referencedApplicationName - the name of the application to remove

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.