Java EE 5 SDK

com.sun.appserv.management.config
Interface ResourceRefConfigCR

All Superinterfaces:
ConfigRemover
All Known Subinterfaces:
ClusterConfig, StandaloneServerConfig

public interface ResourceRefConfigCR
extends ConfigRemover

Allows creation and removal of ResourceRefConfig.


Method Summary
 ResourceRefConfig createResourceRefConfig(String referencedResourceName)
          Creates a new resource-ref element for the given target
 ResourceRefConfig createResourceRefConfig(String referencedResourceName, boolean enabled)
          Creates a new resource-ref element.
 ResourceRefConfig createResourceRefConfig(String referencedResourceName, Map<String,String> optional)
          Creates a new resource-ref element for the given target
 void removeResourceRefConfig(String name)
           
 
Methods inherited from interface com.sun.appserv.management.config.ConfigRemover
removeConfig
 

Method Detail

createResourceRefConfig

ResourceRefConfig createResourceRefConfig(String referencedResourceName,
                                          Map<String,String> optional)
Creates a new resource-ref element for the given target

Parameters:
referencedResourceName - resource name
optional - Map of optional attributes.
Returns:
A proxy to the ResourceRefConfig MBean.

createResourceRefConfig

ResourceRefConfig createResourceRefConfig(String referencedResourceName)
Creates a new resource-ref element for the given target

Parameters:
referencedResourceName - resource name
Returns:
A proxy to the ResourceRefConfig MBean.

createResourceRefConfig

ResourceRefConfig createResourceRefConfig(String referencedResourceName,
                                          boolean enabled)
Creates a new resource-ref element.

Parameters:
referencedResourceName - resource name
enabled -
Returns:
A proxy to the ResourceRefConfig MBean.

removeResourceRefConfig

void removeResourceRefConfig(String name)

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.