| java.lang.Object com.sun.jbi.jsf.util.CompConfigUtils
CompConfigUtils | final public class CompConfigUtils (Code) | | Component Configuration Utilities.
author: Sun Microsystems Inc. |
Method Summary | |
public static String | getCompState(String aCompName, String aCompType, String anInstance) | public static Properties | getConfiguration(String aCompName, String anInstance) | public static String | getConfigurationData(String aCompName, String anInstance) | public static String | getConfigurationSchema(String aCompName, String anInstance) | public static String | getInstanceState(String anInstance) | public static List | getInstances(String aCompName, String aCompType) | public static boolean | isConfigTypeSupported(String aConfigType, String aCompName, String aCompType, String anInstance) Determines if the requested type of configuration is supported by the
specified component on the specified instance. | public static String | selectCurrentInstance(String aCompName, String aCompType, List anInstancesList, String aPrevSelectedInstance) | public static boolean | setConfigPS(String aConfigType, String aCompName, String aCompType, String anInstance) Sets the requested configuration type property sheet on the component
configuration bean, if possible. |
CONFIG_TYPE_APPLICATION | final public static String CONFIG_TYPE_APPLICATION(Code) | | used with setConfigPS for a configuration type parameter
for application type.
|
CONFIG_TYPE_INSTALLATION | final public static String CONFIG_TYPE_INSTALLATION(Code) | | used with setConfigPS for a configuration type parameter
for installation type.
|
CONFIG_TYPE_RUNTIME | final public static String CONFIG_TYPE_RUNTIME(Code) | | used with setConfigPS for a configuration type parameter
for runtime type.
|
getCompState | public static String getCompState(String aCompName, String aCompType, String anInstance)(Code) | | Gets the state of the specified component on the specified instance
Parameters: aCompName - the component to be checked Parameters: aCompType - either binding-component , or service-engine Parameters: anInstance - the cluster or standalone server name the state, one of started , stopped , shutdown , or unknown |
getConfiguration | public static Properties getConfiguration(String aCompName, String anInstance)(Code) | | Gets the Configuration attribute of the CompConfigUtils class
Parameters: aCompName - Description of Parameter Parameters: anInstance - Description of Parameter The Configuration value |
getConfigurationData | public static String getConfigurationData(String aCompName, String anInstance)(Code) | | Gets the ConfigurationData attribute of the CompConfigUtils class
Parameters: aCompName - Description of Parameter Parameters: anInstance - Description of Parameter The ConfigurationData value |
getConfigurationSchema | public static String getConfigurationSchema(String aCompName, String anInstance)(Code) | | Gets the ConfigurationSchema attribute of the CompConfigUtils class
Parameters: aCompName - Description of Parameter Parameters: anInstance - Description of Parameter The ConfigurationSchema value |
getInstanceState | public static String getInstanceState(String anInstance)(Code) | | Gets the running state of the specified instance
Parameters: anInstance - to be checked the state, one of running , stopped , starting , or unknown |
getInstances | public static List getInstances(String aCompName, String aCompType)(Code) | | Gets the Instances attribute of the CompConfigUtils class
Parameters: aCompName - Description of Parameter Parameters: aCompType - Description of Parameter The Instances value |
isConfigTypeSupported | public static boolean isConfigTypeSupported(String aConfigType, String aCompName, String aCompType, String anInstance)(Code) | | Determines if the requested type of configuration is supported by the
specified component on the specified instance.
Parameters: aConfigType - Description of Parameter Parameters: aCompName - the component Parameters: aCompType - one of: binding-component or service-engine Parameters: anInstance - the instance true if the specified component (on the specifiedinstance) supports the requested configuration type |
selectCurrentInstance | public static String selectCurrentInstance(String aCompName, String aCompType, List anInstancesList, String aPrevSelectedInstance)(Code) | | Description of the Method
Parameters: aCompName - Description of Parameter Parameters: aCompType - Description of Parameter Parameters: anInstancesList - Description of Parameter Parameters: aPrevSelectedInstance - Description of Parameter Description of the Returned Value |
setConfigPS | public static boolean setConfigPS(String aConfigType, String aCompName, String aCompType, String anInstance)(Code) | | Sets the requested configuration type property sheet on the component
configuration bean, if possible.
Parameters: aConfigType - The new ConfigPS value Parameters: aCompName - the component Parameters: aCompType - one of: binding-component or service-engine Parameters: anInstance - the instance (or null for configuration type ofinstallation true if the specified component (on the specifiedinstance) returns valid data that can be used to initialize theproperty sheet. |
|
|