| java.lang.Object com.sun.jbi.ui.runtime.mbeans.AbstractUIMBeanImpl com.sun.jbi.ui.runtime.mbeans.JBIAdminCommandsUIMBeanImpl
JBIAdminCommandsUIMBeanImpl | public class JBIAdminCommandsUIMBeanImpl extends AbstractUIMBeanImpl implements JBIAdminCommandsUIMBean(Code) | | This class is an implementation of the JBIAdminCommandsUIMBean interface and
the implemenation of the JBIAdminCommands interface on the server side.
author: graj |
Method Summary | |
public String | addApplicationConfiguration(String componentName, String targetName, String name, Properties config) Add a named application configuration to a component installed on a given
target.
Parameters: componentName - component identification Parameters: targetName - identification of the target. | public String | addApplicationVariables(String componentName, String targetName, Properties appVariables) Add application variables to a component installed on a given target. | public String | deleteApplicationConfiguration(String componentName, String targetName, String name) Delete a named application configuration in a component installed on a
given target.
Parameters: componentName - component identification Parameters: targetName - identification of the target. | public String | deleteApplicationVariables(String componentName, String targetName, String[] appVariableNames) Delete application variables from a component installed on a given
target. | public String | deployServiceAssembly(String zipFilePath, String targetName) | public Map<String, String> | deployServiceAssembly(String zipFilePath, String[] targetNames) | public String | deployServiceAssemblyFromDomain(String assemblyName, String targetName) | public Map<String /* targetName */, String | deployServiceAssemblyFromDomain(String assemblyName, String[] targetNames) | public String | exportApplicationConfiguration(String applicationName, String targetName, String configDir) This method is used to export the application variables and application
configuration objects used by the given application in the specified
target. | public Properties | getApplicationConfiguration(String componentName, String targetName, String name) Get a specific named configuration. | public Map<String, Properties> | getApplicationConfigurations(String componentName, String targetName) Get all the application configurations set on a component.
Parameters: componentName - component identification Parameters: targetName - identification of the target. | public Properties | getApplicationVariables(String componentName, String targetName) Get all the application variables set on a component.
all the application variables et on the component. | public Properties | getComponentConfiguration(String componentName, String targetName) | public Map<String /* targetInstanceName */, ObjectName[]> | getComponentExtensionMBeanObjectNames(String componentName, String extensionName, String targetName) | public ObjectName[] | getComponentExtensionMBeanObjectNames(String componentName, String extensionName, String targetName, String targetInstanceName) | public String | getComponentInstallationDescriptor(String componentName) Retrieve the Component Installation descriptor for the server target.
The Installation descriptor will never be different for a component name
in a JBI system because there's only one component allowed with that same
name. | public Map<String /* loggerName */, String | getComponentLoggerDisplayNames(String componentName, String targetName, String targetInstanceName) Gets the component custom loggers and their display names. | public Map<String /* loggerName */, Level | getComponentLoggerLevels(String componentName, String targetName, String targetInstanceName) | public TabularData | getComponentStats(String componentName, String targetName) | public TabularData | getConsumingEndpointsForComponent(String componentName, String targetName) This method is used to provide a list of consuming endpoints for a component.
Parameters: componentName - component name Parameters: target - target name. | public Properties | getDefaultRuntimeConfiguration() This method returns a tabular data of a complex open data objects that
represent the runtime configuration parameter descriptor. | public TabularData | getEndpointStats(String endpointName, String targetName) | public TabularData | getFrameworkStats(String targetName) This method is used to provide JBIFramework statistics in the
given target.
Parameters: target - target name. | public TabularData | getNMRStats(String targetName) This method is used to provide statistics about the message service in the
given target.
Parameters: target - target name. | public TabularData | getProvidingEndpointsForComponent(String componentName, String targetName) This method is used to provide a list of provisioning endpoints for a component.
Parameters: componentName - component name Parameters: target - target name. | public Properties | getRuntimeConfiguration(String targetName) This method returns a tabular data of a complex open data objects that
represent the runtime configuration parameter descriptor. | public Properties | getRuntimeConfigurationMetaData(String propertyKeyName) This method returns the runtime configuration metadata associated with
the specified property. | public String | getRuntimeLoggerDisplayName(String runtimeLoggerName, String targetName, String targetInstanceName) Return the display name for a runtime logger
Parameters: runtimeLoggerName - name of the logger (e.g. | public String | getRuntimeLoggerDisplayName(String runtimeLoggerName, String targetName) Return the display name for a runtime logger
Parameters: runtimeLoggerName - name of the logger (e.g. | public Level | getRuntimeLoggerLevel(String runtimeLoggerName, String targetName, String targetInstanceName) Lookup the level of one runtime logger
Parameters: runtimeLoggerName - name of the runtime logger (e.g. | public Level | getRuntimeLoggerLevel(String runtimeLoggerName, String targetName) Lookup the level of one runtime logger
Parameters: runtimeLoggerName - name of the runtime logger (e.g. | public Map<String /* runtimeLoggerName */, Level | getRuntimeLoggerLevels(String targetName, String targetInstanceName) | public Map<String /* runtimeLoggerName */, Level | getRuntimeLoggerLevels(String targetName) Gets all the runtime loggers and their levels. | public Map<String /* display name */, String | getRuntimeLoggerNames(String targetName, String targetInstanceName) | public Map<String /* display name */, String | getRuntimeLoggerNames(String targetName) | public String | getServiceAssemblyDeploymentDescriptor(String serviceAssemblyName) Retrieve the Service Assembly Deployment descriptor for the domain
target.
The deployment descriptor will never be different for a service assembly
name in a JBI system because there's only one Service Assembly allowed
with that same name. | public TabularData | getServiceAssemblyStats(String saName, String targetName) This method is used to provide statistics about a Service Assembly
in the given target.
Parameters: target - target name. Parameters: saName - the service assembly name. | public String | getServiceUnitDeploymentDescriptor(String serviceAssemblyName, String serviceUnitName) Returns the jbi.xml Deployment Descriptor for a Service Unit. | public String | getSharedLibraryInstallationDescriptor(String sharedLibraryName) Retrieve the Shared Library Installation descriptor for the server
target.
The Installation descriptor will never be different for a Shared Library
name in a JBI system because there's only one Shared Library allowed with
that same name. | public String | installComponent(String zipFilePath, Properties paramProps, String targetName) | public String | installComponent(String zipFilePath, String targetName) | public Map<String, String> | installComponent(String zipFilePath, Properties paramProps, String[] targetNames) | public Map<String, String> | installComponent(String zipFilePath, String[] targetNames) | public String | installComponentFromDomain(String componentName, String targetName) | public String | installComponentFromDomain(String componentName, Properties properties, String targetName) | public Map<String /* targetName */, String | installComponentFromDomain(String componentName, String[] targetNames) | public Map<String /* targetName */, String | installComponentFromDomain(String componentName, Properties properties, String[] targetNames) | public String | installSharedLibrary(String zipFilePath, String targetName) | public Map<String, String> | installSharedLibrary(String zipFilePath, String[] targetNames) | public String | installSharedLibraryFromDomain(String libraryName, String targetName) | public Map<String /* targetName */, String | installSharedLibraryFromDomain(String libraryName, String[] targetNames) | public boolean | isAppConfigSupported(String componentName, String targetName) Detect the components support for application configuration. | public boolean | isAppVarsSupported(String componentName, String targetName) Detect the components support for application variables. | public boolean | isComponentConfigSupported(String componentName, String targetName) Detect the components support for component configuration. | public boolean | isJBIRuntimeEnabled() | public boolean | isServerRestartRequired() checks if the server need to be restarted to apply the changes made to
some of the configuration parameters.
true if server need to be restarted for updated configuration totake effect. | public boolean | isTargetUp(String targetName) Checks to see if the Target (server, cluster) is up or down. | public String[] | listApplicationConfigurationNames(String componentName, String targetName) List all the application configurations in a component.
Parameters: componentName - component identification Parameters: targetName - identification of the target. | public String | listBindingComponents(String targetName) return component info xml text that has only binding component infos. | public String | listBindingComponents(String state, String sharedLibraryName, String serviceAssemblyName, String targetName) return component info xml text that has only binding component infos
which satisfies the options passed to the method.
Parameters: state - return all the binding components that are in the specifiedstate. | public Map<String, String> | listBindingComponents(String[] targetNames) return component info xml text that has only binding component infos. | public Map<String, String> | listBindingComponents(String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) return component info xml text that has only binding component infos
which satisfies the options passed to the method.
Parameters: state - return all the binding components that are in the specifiedstate. | public String | listServiceAssemblies(String targetName) returns a list of Service Assembly Infos in a xml format. | public String | listServiceAssemblies(String componentName, String targetName) returns the list of service asssembly infos in a xml format that have the
service unit deployed on the specified component. | public String | listServiceAssemblies(String state, String componentName, String targetName) returns the list of service asssembly infos in a xml format that have the
service unit deployed on the specified component.
Parameters: state - to return all the service assemblies that are in the specifiedstate. | public Map<String, String> | listServiceAssemblies(String[] targetNames) returns a list of Service Assembly Infos in a xml format. | public Map<String, String> | listServiceAssemblies(String componentName, String[] targetNames) returns the list of service asssembly infos in a xml format that have the
service unit deployed on the specified component. | public Map<String, String> | listServiceAssemblies(String state, String componentName, String[] targetNames) returns the list of service asssembly infos in a xml format that have the
service unit deployed on the specified component.
Parameters: state - to return all the service assemblies that are in the specifiedstate. | public String | listServiceEngines(String targetName) return component info xml text that has only service engine infos. | public String | listServiceEngines(String state, String sharedLibraryName, String serviceAssemblyName, String targetName) return component info xml text that has only service engine infos which
satisfies the options passed to the method.
Parameters: state - return all the service engines that are in the specifiedstate. | public Map<String, String> | listServiceEngines(String[] targetNames) return component info xml text that has only service engine infos. | public Map<String, String> | listServiceEngines(String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) return component info xml text that has only service engine infos which
satisfies the options passed to the method.
Parameters: state - return all the service engines that are in the specifiedstate. | public String | listSharedLibraries(String targetName) return component info xml text that has only shared library infos. | public String | listSharedLibraries(String componentName, String targetName) returns the list of Shared Library infos in the in a xml format
Parameters: componentName - to return only the shared libraries that are this componentdependents. | public Map<String, String> | listSharedLibraries(String[] targetNames) return component info xml text that has only shared library infos. | public Map<String, String> | listSharedLibraries(String componentName, String[] targetNames) returns the list of Shared Library infos in the in a xml format
Parameters: componentName - to return only the shared libraries that are this componentdependents. | public String | listSharedLibraryDependents(String sharedLibraryName, String targetName) | public Map<String, String> | listSharedLibraryDependents(String sharedLibraryName, String[] targetNames) | public CompositeType | queryApplicationConfigurationType(String componentName, String targetName) Get the CompositeType definition for the components application configuration
Parameters: componentName - component identification Parameters: targetName - identification of the target. | public String | retrieveConfigurationDisplayData(String componentName, String targetName) Retrieves the component configuration metadata. | public String | retrieveConfigurationDisplaySchema(String componentName, String targetName) Retrieves the component specific configuration schema.
Parameters: componentName - component identification Parameters: targetName - identification of the target. | public String | setApplicationConfiguration(String componentName, String targetName, String name, Properties config) Update a named application configuration in a component installed on a
given target.
Parameters: componentName - component identification Parameters: targetName - identification of the target. | public String | setApplicationVariables(String componentName, String targetName, Properties appVariables) Set application variables on a component installed on a given target. | public Properties | setComponentConfiguration(String componentName, Properties configurationValues, String targetName) Will return jbi mgmt message with success, failure, or partial success
per instance. | public String | setComponentConfiguration(String componentName, String targetName, Properties configurationValues) Set the component static configuration. | public void | setComponentLoggerLevel(String componentName, String loggerName, Level logLevel, String targetName, String targetInstanceName) | public boolean | setRuntimeConfiguration(Properties parameters, String targetName) This method sets one or more configuration parameters on the runtime with
a list of name/value pairs passed as a properties object. | public void | setRuntimeLoggerLevel(String runtimeLoggerName, Level logLevel, String targetName, String targetInstanceName) | public void | setRuntimeLoggerLevel(String runtimeLoggerName, Level logLevel, String targetName) | public String | showBindingComponent(String name, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) return component info xml text for the specified binding component if
exists. | public Map<String, String> | showBindingComponent(String name, String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) return component info xml text for the specified binding component if
exists. | public String | showServiceAssembly(String name, String state, String componentName, String targetName) return service assembly info xml text for the specified service assembly
if exists. | public Map<String, String> | showServiceAssembly(String name, String state, String componentName, String[] targetNames) return service assembly info xml text for the specified service assembly
if exists. | public String | showServiceEngine(String name, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) return component info xml text for the specified service engine if
exists. | public Map<String, String> | showServiceEngine(String name, String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) return component info xml text for the specified service engine if
exists. | public String | showSharedLibrary(String name, String componentName, String targetName) return component info xml text for the specified shared library if
exists. | public Map<String, String> | showSharedLibrary(String name, String componentName, String[] targetNames) return component info xml text for the specified shared library if
exists. | public String | shutdownComponent(String componentName, String targetName) | public String | shutdownComponent(String componentName, boolean force, String targetName) | public Map<String, String> | shutdownComponent(String componentName, String[] targetNames) | public Map<String, String> | shutdownComponent(String componentName, boolean force, String[] targetNames) | public String | shutdownServiceAssembly(String serviceAssemblyName, String targetName) | public String | shutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String targetName) | public Map<String, String> | shutdownServiceAssembly(String serviceAssemblyName, String[] targetNames) | public Map<String /* targetName */, String | shutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String[] targetNames) | public String | startComponent(String componentName, String targetName) | public Map<String, String> | startComponent(String componentName, String[] targetNames) | public String | startServiceAssembly(String serviceAssemblyName, String targetName) | public Map<String, String> | startServiceAssembly(String serviceAssemblyName, String[] targetNames) | public String | stopComponent(String componentName, String targetName) | public Map<String, String> | stopComponent(String componentName, String[] targetNames) | public String | stopServiceAssembly(String serviceAssemblyName, String targetName) | public Map<String, String> | stopServiceAssembly(String serviceAssemblyName, String[] targetNames) | public String | undeployServiceAssembly(String serviceAssemblyName, String targetName) | public Map<String, String> | undeployServiceAssembly(String serviceAssemblyName, String[] targetNames) | public String | undeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, String targetName) | public Map<String /* targetName */, String | undeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, String[] targetNames) | public String | undeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, boolean retainInDomain, String targetName) | public Map<String /* targetName */, String | undeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, boolean retainInDomain, String[] targetNames) | public String | uninstallComponent(String componentName, String targetName) | public Map<String, String> | uninstallComponent(String componentName, String[] targetNames) | public String | uninstallComponent(String componentName, boolean forceDelete, String targetName) | public Map<String /* targetName */, String | uninstallComponent(String componentName, boolean forceDelete, String[] targetNames) | public String | uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String targetName) | public Map<String /* targetName */, String | uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String[] targetNames) | String | uninstallComponentInternal(String componentName, boolean force, String targetName) | String | uninstallComponentInternal(String componentName, boolean force, boolean retainInDomain, String targetName) | public String | uninstallSharedLibrary(String sharedLibraryName, String targetName) | public Map<String, String> | uninstallSharedLibrary(String sharedLibraryName, String[] targetNames) | public String | uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String targetName) | public Map<String /* targetName */, String | uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String[] targetNames) | public String | uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String targetName) | public Map<String /* targetName */, String | uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String[] targetNames) | public String | updateComponent(String componentName, String zipFilePath) | String | validateServiceAssembly(String zipFilePath) | public CompositeData | verifyApplication(String applicationURL, String targetName, boolean generateTemplates, String templateDir, boolean includeDeployCommand) This method is used to verify if the application variables and
application configuration objects used in the given
application are available in JBI runtime in the specified target. |
JBIAdminCommandsUIMBeanImpl | public JBIAdminCommandsUIMBeanImpl(EnvironmentContext anEnvContext)(Code) | | constructor
Parameters: anEnvContext - |
addApplicationConfiguration | public String addApplicationConfiguration(String componentName, String targetName, String name, Properties config) throws JBIRemoteException(Code) | | Add a named application configuration to a component installed on a given
target.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. Parameters: name - application configuration name Parameters: config - application configuration represented as a set of properties. a JBI Management message indicating the status of the operation. throws: JBIRemoteException - if there is a jmx error accessing the instance |
addApplicationVariables | public String addApplicationVariables(String componentName, String targetName, Properties appVariables) throws JBIRemoteException(Code) | | Add application variables to a component installed on a given target. If
even a variable from the set is already set on the component, this
operation fails.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. Parameters: appVariables - -set of application variables to add. The values of theapplication variables have the application variable type andvalue and the format is "[type]value" a JBI Management message indicating the status of the operation.In case a variable is not added the management message has aERROR task status message giving the details of the failure. throws: JBIRemoteException - if there is a jmx error accessing the instance |
deleteApplicationConfiguration | public String deleteApplicationConfiguration(String componentName, String targetName, String name) throws JBIRemoteException(Code) | | Delete a named application configuration in a component installed on a
given target.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. Parameters: name - name of application configuration to be deleted a JBI Management message indicating the status of the operation. throws: JBIRemoteException - if there is a jmx error accessing the instance |
deleteApplicationVariables | public String deleteApplicationVariables(String componentName, String targetName, String[] appVariableNames) throws JBIRemoteException(Code) | | Delete application variables from a component installed on a given
target. If even a variable from the set has not been added to the
component, this operation fails.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. Parameters: appVariableNames - -names of application variables to delete. a JBI Management message indicating the status of the operation.In case a variable is not deleted the management message has aERROR task status message giving the details of the failure. throws: JBIRemoteException - if there is a jmx error accessing the instance |
deployServiceAssemblyFromDomain | public String deployServiceAssemblyFromDomain(String assemblyName, String targetName) throws JBIRemoteException(Code) | | deploys service assembly
Parameters: assemblyName - service assembly name Parameters: targetName - name of the target for this operation Map of targetName and management message xml text strings. throws: JBIRemoteException - on error |
deployServiceAssemblyFromDomain | public Map<String /* targetName */, String deployServiceAssemblyFromDomain(String assemblyName, String[] targetNames) throws JBIRemoteException(Code) | | deploys service assembly
Parameters: assemblyName - name of the service assembly Parameters: targetName - name of the target for this operation Map of targetName and management message xml text strings. throws: JBIRemoteException - on error |
exportApplicationConfiguration | public String exportApplicationConfiguration(String applicationName, String targetName, String configDir) throws JBIRemoteException(Code) | | This method is used to export the application variables and application
configuration objects used by the given application in the specified
target.
Parameters: applicationName - the name of the application Parameters: targetName - the target whose configuration has to be exported Parameters: configDir - the dir to store the configurations throws: JBIRemoteException - if the application configuration could not be exportedNote: param configDir is used between ant/cli and common client client.The return value is used between common client server and common clientclient. |
getApplicationConfiguration | public Properties getApplicationConfiguration(String componentName, String targetName, String name) throws JBIRemoteException(Code) | | Get a specific named configuration. If the named configuration does not
exist in the component the returned properties is an empty set.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. the application configuration represented as a set of properties. throws: JBIRemoteException - if there is a jmx error accessing the instance |
getApplicationConfigurations | public Map<String, Properties> getApplicationConfigurations(String componentName, String targetName) throws JBIRemoteException(Code) | | Get all the application configurations set on a component.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. a map of all the application configurations keyed by theconfiguration name. throws: JBIRemoteException - if there is a jmx error accessing the instance |
getApplicationVariables | public Properties getApplicationVariables(String componentName, String targetName) throws JBIRemoteException(Code) | | Get all the application variables set on a component.
all the application variables et on the component. The returnproerties set has the name="[type]value" pairs for theapplication variables. a JBI Management message indicating the status of the operation. throws: JBIRemoteException - if there is a jmx error accessing the instance |
getComponentConfiguration | public Properties getComponentConfiguration(String componentName, String targetName) throws JBIRemoteException(Code) | | Retrieve component configuration
Parameters: componentName - Parameters: targetName - the targetName as key and the name/value pairs as properties |
getComponentExtensionMBeanObjectNames | public Map<String /* targetInstanceName */, ObjectName[]> getComponentExtensionMBeanObjectNames(String componentName, String extensionName, String targetName) throws JBIRemoteException(Code) | | Gets the extension MBean object names
Parameters: componentName - name of the component Parameters: extensionName - the name of the extension (e.g., Configuration, Logger, etc.) Parameters: targetName - name of the target (e.g., cluster1, server, etc.) throws: JBIRemoteException - on error |
getComponentExtensionMBeanObjectNames | public ObjectName[] getComponentExtensionMBeanObjectNames(String componentName, String extensionName, String targetName, String targetInstanceName) throws JBIRemoteException(Code) | | Gets the extension MBean object names
Parameters: componentName - name of the component Parameters: extensionName - the name of the extension (e.g., Configuration, Logger, etc.) Parameters: targetName - name of the target (e.g., cluster1, server, etc.) Parameters: targetInstanceName - name of the target instance (e.g., cluster1-instance1, etc.) an array of ObjectName(s) throws: JBIRemoteException - on error |
getComponentLoggerDisplayNames | public Map<String /* loggerName */, String getComponentLoggerDisplayNames(String componentName, String targetName, String targetInstanceName) throws JBIRemoteException(Code) | | Gets the component custom loggers and their display names.
Parameters: componentName - name of the component Parameters: targetName - name of the target (e.g., cluster1, server, etc.) Parameters: targetInstanceName - name of the target instance (e.g., cluster1-instance1, etc.) a Map of loggerName to their display names throws: JBIRemoteException - on error |
getComponentLoggerLevels | public Map<String /* loggerName */, Level getComponentLoggerLevels(String componentName, String targetName, String targetInstanceName) throws JBIRemoteException(Code) | | Gets the component custom loggers and their levels
Parameters: componentName - name of the component Parameters: targetName - name of the target (e.g., cluster1, server, etc.) Parameters: targetInstanceName - name of the target instance (e.g., cluster1-instance1, etc.) a Map of loggerName to their log levels throws: JBIRemoteException - on error |
getComponentStats | public TabularData getComponentStats(String componentName, String targetName) throws JBIRemoteException(Code) | | This method is used to provide statistics for the given component
in the given target
Parameters: targetName - target name Parameters: componentName - component name TabularData table of component statisticsIf the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean |
getConsumingEndpointsForComponent | public TabularData getConsumingEndpointsForComponent(String componentName, String targetName) throws JBIRemoteException(Code) | | This method is used to provide a list of consuming endpoints for a component.
Parameters: componentName - component name Parameters: target - target name. TabularData list of consuming endpoints If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean |
getDefaultRuntimeConfiguration | public Properties getDefaultRuntimeConfiguration() throws JBIRemoteException(Code) | | This method returns a tabular data of a complex open data objects that
represent the runtime configuration parameter descriptor. The parameter
descriptor should contain the following data that represents the
parameter.
name : name of the parameter value : value of the parameter as a String
type. type : type of the parameter. Basic data types only. description:
(optional) description of the parameter. displayName: (optional) display
name of the parameter readOnly : true/false validValues : (optional) list
of string values with ',' as delimiter. or a range value with - with a
'-' as delimiter. min and max strings will be converted to the parameter
type and then used to validate the value of the parameter.
Parameters: targetName - cluster or instance name ( e.g. cluster1, instance1 ) on whichconfiguration parameters will be set. null to represent thedefault instance which is admin server Properties that represents the list of configuration parameterdescriptors. throws: JBIRemoteException - if there is a jmx error accessing the instance |
getEndpointStats | public TabularData getEndpointStats(String endpointName, String targetName) throws JBIRemoteException(Code) | | This method is used to provide statistic information about the given
endpoint in the given target
Parameters: targetName - target name Parameters: endpointName - the endpoint Name TabularData table of endpoint statisticsIf the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean |
getFrameworkStats | public TabularData getFrameworkStats(String targetName) throws JBIRemoteException(Code) | | This method is used to provide JBIFramework statistics in the
given target.
Parameters: target - target name. TabularData table of framework statistics in the given target.If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean |
getNMRStats | public TabularData getNMRStats(String targetName) throws JBIRemoteException(Code) | | This method is used to provide statistics about the message service in the
given target.
Parameters: target - target name. TabularData table of NMR statistics in the given target.If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean |
getProvidingEndpointsForComponent | public TabularData getProvidingEndpointsForComponent(String componentName, String targetName) throws JBIRemoteException(Code) | | This method is used to provide a list of provisioning endpoints for a component.
Parameters: componentName - component name Parameters: target - target name. TabularData list of provisioning endpoints If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean |
getRuntimeConfiguration | public Properties getRuntimeConfiguration(String targetName) throws JBIRemoteException(Code) | | This method returns a tabular data of a complex open data objects that
represent the runtime configuration parameter descriptor. The parameter
descriptor should contain the following data that represents the
parameter.
name : name of the parameter value : value of the parameter as a String
type. type : type of the parameter. Basic data types only. description:
(optional) description of the parameter. displayName: (optional) display
name of the parameter readOnly : true/false validValues : (optional) list
of string values with ',' as delimiter. or a range value with - with a
'-' as delimiter. min and max strings will be converted to the parameter
type and then used to validate the value of the parameter.
Parameters: targetName - cluster or instance name ( e.g. cluster1, instance1 ) on whichconfiguration parameters will be set. null to represent thedefault instance which is admin server Properties that represents the list of configuration parameterdescriptors. throws: JBIRemoteException - if there is a jmx error accessing the instance |
getRuntimeConfigurationMetaData | public Properties getRuntimeConfigurationMetaData(String propertyKeyName) throws JBIRemoteException(Code) | | This method returns the runtime configuration metadata associated with
the specified property. The metadata contain name-value pairs like:
default, descriptionID, descriptorType, displayName, displayNameId,
isStatic, name, resourceBundleName, tooltip, tooltipId, etc.
Parameters: propertyKeyName - Properties that represent runtime configuration metadata throws: JBIRemoteException - |
getRuntimeLoggerDisplayName | public String getRuntimeLoggerDisplayName(String runtimeLoggerName, String targetName, String targetInstanceName) throws JBIRemoteException(Code) | | Return the display name for a runtime logger
Parameters: runtimeLoggerName - name of the logger (e.g. com.sun.jbi.framework) Parameters: targetName - name of the target (e.g., cluster1, server, etc.) Parameters: targetInstanceName - name of the target instance (e.g., cluster1-instance1, etc.) the display name for the given logger throws: JBIRemoteException - on error |
getRuntimeLoggerDisplayName | public String getRuntimeLoggerDisplayName(String runtimeLoggerName, String targetName) throws JBIRemoteException(Code) | | Return the display name for a runtime logger
Parameters: runtimeLoggerName - name of the logger (e.g. com.sun.jbi.framework) Parameters: targetName - name of the target (e.g., cluster1, server, etc.) the display name for the given logger throws: JBIRemoteException - on error |
getRuntimeLoggerLevel | public Level getRuntimeLoggerLevel(String runtimeLoggerName, String targetName, String targetInstanceName) throws JBIRemoteException(Code) | | Lookup the level of one runtime logger
Parameters: runtimeLoggerName - name of the runtime logger (e.g. com.sun.jbi.framework Parameters: targetName - name of the target (e.g., cluster1, server, etc.) Parameters: targetInstanceName - name of the target instance (e.g., cluster1-instance1, etc.) the matching Log Level. throws: JBIRemoteException - on error |
getRuntimeLoggerLevel | public Level getRuntimeLoggerLevel(String runtimeLoggerName, String targetName) throws JBIRemoteException(Code) | | Lookup the level of one runtime logger
Parameters: runtimeLoggerName - name of the runtime logger (e.g. com.sun.jbi.framework Parameters: targetName - name of the target (e.g., cluster1, server, etc.) Parameters: targetInstanceName - name of the target instance (e.g., cluster1-instance1, etc.) the matching Log Level. throws: JBIRemoteException - on error |
getRuntimeLoggerLevels | public Map<String /* runtimeLoggerName */, Level getRuntimeLoggerLevels(String targetName, String targetInstanceName) throws JBIRemoteException(Code) | | Gets all the runtime loggers and their levels
Parameters: targetName - name of the target (e.g., cluster1, server, etc.) Parameters: targetInstanceName - name of the target instance (e.g., cluster1-instance1, etc.) a Map of runtimeLoggerName to their log levels throws: JBIRemoteException - on error |
getRuntimeLoggerLevels | public Map<String /* runtimeLoggerName */, Level getRuntimeLoggerLevels(String targetName) throws JBIRemoteException(Code) | | Gets all the runtime loggers and their levels.
Parameters: targetName - name of the target (e.g., cluster1, server, etc.) a Map of runtimeLoggerName to their log levels throws: JBIRemoteException - on error |
getRuntimeLoggerNames | public Map<String /* display name */, String getRuntimeLoggerNames(String targetName, String targetInstanceName) throws JBIRemoteException(Code) | | Gets all the runtime loggers and their display names
Parameters: targetName - name of the target (e.g., cluster1, server, etc.) Parameters: targetInstanceName - name of the target instance (e.g., cluster1-instance1, etc.) a Map of display names to their logger MBeans throws: JBIRemoteException - on error |
getRuntimeLoggerNames | public Map<String /* display name */, String getRuntimeLoggerNames(String targetName) throws JBIRemoteException(Code) | | Gets all the runtime loggers and their display names
Parameters: targetName - name of the target (e.g., cluster1, server, etc.) Parameters: targetInstanceName - name of the target instance (e.g., cluster1-instance1, etc.) a Map of display names to their logger MBeans throws: JBIRemoteException - on error |
getServiceAssemblyStats | public TabularData getServiceAssemblyStats(String saName, String targetName) throws JBIRemoteException(Code) | | This method is used to provide statistics about a Service Assembly
in the given target.
Parameters: target - target name. Parameters: saName - the service assembly name. TabularData table of NMR statistics in the given target.If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean |
getServiceUnitDeploymentDescriptor | public String getServiceUnitDeploymentDescriptor(String serviceAssemblyName, String serviceUnitName) throws JBIRemoteException(Code) | | Returns the jbi.xml Deployment Descriptor for a Service Unit.
Parameters: the - name of the Service Assembly Parameters: the - name of the Service Unit the jbi.xml deployment descriptor of the archive throws: JBIRemoteException - if error or exception occurs. |
installComponentFromDomain | public String installComponentFromDomain(String componentName, String targetName) throws JBIRemoteException(Code) | | installs component ( service engine, binding component)
Parameters: componentName - name of the component. Parameters: targetName - name of the target for this operation result. throws: JBIRemoteException - on error |
installComponentFromDomain | public String installComponentFromDomain(String componentName, Properties properties, String targetName) throws JBIRemoteException(Code) | | installs component ( service engine, binding component)
Parameters: componentName - name of the component. Parameters: component - configuration properties Parameters: targetName - name of the target for this operation result. throws: JBIRemoteException - on error |
installComponentFromDomain | public Map<String /* targetName */, String installComponentFromDomain(String componentName, String[] targetNames) throws JBIRemoteException(Code) | | installs component from Domain( service engine, binding component)
Parameters: componentName - name of the component Parameters: targetNames - array of targets for this operation Map of targetName and component name strings. throws: JBIRemoteException - on error |
installComponentFromDomain | public Map<String /* targetName */, String installComponentFromDomain(String componentName, Properties properties, String[] targetNames) throws JBIRemoteException(Code) | | installs component from Domain( service engine, binding component)
Parameters: componentName - name of the component Parameters: component - configuration properties Parameters: targetNames - array of targets for this operation Map of targetName and component name strings. throws: JBIRemoteException - on error |
installSharedLibraryFromDomain | public String installSharedLibraryFromDomain(String libraryName, String targetName) throws JBIRemoteException(Code) | | installs shared library
Parameters: libraryName - Shared Library Name Parameters: targetName - name of the target for this operation Map of targetName and shared library name strings. throws: JBIRemoteException - on error |
installSharedLibraryFromDomain | public Map<String /* targetName */, String installSharedLibraryFromDomain(String libraryName, String[] targetNames) throws JBIRemoteException(Code) | | installs shared library
Parameters: libraryName - name of the library Parameters: targetName - name of the target for this operation Map of targetName and shared library name strings. throws: JBIRemoteException - on error |
isAppConfigSupported | public boolean isAppConfigSupported(String componentName, String targetName) throws JBIRemoteException(Code) | | Detect the components support for application configuration. This method
returns true if the component has a configuration MBean and implements
all the operations for application configuration management.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. true if the components configuration MBean implements all theoperations for application configuration. throws: JBIRemoteException - if the component is not installed or is not in the Started state. |
isAppVarsSupported | public boolean isAppVarsSupported(String componentName, String targetName) throws JBIRemoteException(Code) | | Detect the components support for application variables. This method
returns true if the component has a configuration MBean and implements
all the operations for application variable management.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. true if the components configuration MBean implements all theoperations for application variables. throws: JBIRemoteException - if the component is not installed or is not in the Started state. |
isComponentConfigSupported | public boolean isComponentConfigSupported(String componentName, String targetName) throws JBIRemoteException(Code) | | Detect the components support for component configuration. This method
returns true if the component has a configuration MBean with configurable
attributes
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. true if the components configuration MBean has configuration attributes throws: JBIRemoteException - if the component is not installed or is not in the Started state. |
isServerRestartRequired | public boolean isServerRestartRequired() throws JBIRemoteException(Code) | | checks if the server need to be restarted to apply the changes made to
some of the configuration parameters.
true if server need to be restarted for updated configuration totake effect. false if no server restart is needed. |
isTargetUp | public boolean isTargetUp(String targetName) throws JBIRemoteException(Code) | | Checks to see if the Target (server, cluster) is up or down.
Parameters: targetName - name of the target (e.g., cluster1, server, etc.) true if Target is up, false if not throws: JBIRemoteException - if error or exception occurs. |
listApplicationConfigurationNames | public String[] listApplicationConfigurationNames(String componentName, String targetName) throws JBIRemoteException(Code) | | List all the application configurations in a component.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. an array of names of all the application configurations. throws: JBIRemoteException - if there is a jmx error accessing the instance |
listBindingComponents | public String listBindingComponents(String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws JBIRemoteException(Code) | | return component info xml text that has only binding component infos
which satisfies the options passed to the method.
Parameters: state - return all the binding components that are in the specifiedstate. valid states are JBIComponentInfo.STARTED, STOPPED,INSTALLED or null for ANY state Parameters: sharedLibraryName - return all the binding components that have a dependency onthe specified shared library. null value to ignore thisoption. Parameters: serviceAssemblyName - return all the binding components that have the specifiedservice assembly deployed on them. null value to ignore thisoption. Parameters: targetName - xml text contain the list of binding component infos throws: JBIRemoteException - if error or exception occurs. See Also: com.sun.jbi.ui.common.JBIAdminCommands.listBindingComponents(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String) |
listBindingComponents | public Map<String, String> listBindingComponents(String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) throws JBIRemoteException(Code) | | return component info xml text that has only binding component infos
which satisfies the options passed to the method.
Parameters: state - return all the binding components that are in the specifiedstate. valid states are JBIComponentInfo.STARTED, STOPPED,INSTALLED or null for ANY state Parameters: sharedLibraryName - return all the binding components that have a dependency onthe specified shared library. null value to ignore thisoption. Parameters: serviceAssemblyName - return all the binding components that have the specifiedservice assembly deployed on them. null value to ignore thisoption. Parameters: targetName - xml text contain the list of binding component infos as map of[targetName, xmlString] throws: JBIRemoteException - if error or exception occurs. See Also: com.sun.jbi.ui.common.JBIAdminCommands.listBindingComponents(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String[]) |
listServiceEngines | public String listServiceEngines(String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws JBIRemoteException(Code) | | return component info xml text that has only service engine infos which
satisfies the options passed to the method.
Parameters: state - return all the service engines that are in the specifiedstate. valid states are JBIComponentInfo.STARTED, STOPPED,INSTALLED or null for ANY state Parameters: sharedLibraryName - return all the service engines that have a dependency on thespecified shared library. null value to ignore this option. Parameters: serviceAssemblyName - return all the service engines that have the specified serviceassembly deployed on them. null value to ignore this option. Parameters: targetName - xml text contain the list of service engine component infos throws: JBIRemoteException - if error or exception occurs. See Also: com.sun.jbi.ui.common.JBIAdminCommands.listServiceEngines(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String) |
listServiceEngines | public Map<String, String> listServiceEngines(String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) throws JBIRemoteException(Code) | | return component info xml text that has only service engine infos which
satisfies the options passed to the method.
Parameters: state - return all the service engines that are in the specifiedstate. valid states are JBIComponentInfo.STARTED, STOPPED,INSTALLED or null for ANY state Parameters: sharedLibraryName - return all the service engines that have a dependency on thespecified shared library. null value to ignore this option. Parameters: serviceAssemblyName - return all the service engines that have the specified serviceassembly deployed on them. null value to ignore this option. Parameters: targetName - xml text contain the map of service engine component infos as[targetName, xmlString] throws: JBIRemoteException - if error or exception occurs. See Also: com.sun.jbi.ui.common.JBIAdminCommands.listServiceEngines(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String[]) |
queryApplicationConfigurationType | public CompositeType queryApplicationConfigurationType(String componentName, String targetName) throws JBIRemoteException(Code) | | Get the CompositeType definition for the components application configuration
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. the CompositeType for the components application configuration. |
retrieveConfigurationDisplayData | public String retrieveConfigurationDisplayData(String componentName, String targetName) throws JBIRemoteException(Code) | | Retrieves the component configuration metadata. The XML data conforms to
the component configuration schema.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. a String containing the configuration metadata. throws: ManagementRemoteException - on errors |
retrieveConfigurationDisplaySchema | public String retrieveConfigurationDisplaySchema(String componentName, String targetName) throws JBIRemoteException(Code) | | Retrieves the component specific configuration schema.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. a String containing the configuration schema. throws: ManagementRemoteException - on errors. |
setApplicationConfiguration | public String setApplicationConfiguration(String componentName, String targetName, String name, Properties config) throws JBIRemoteException(Code) | | Update a named application configuration in a component installed on a
given target.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. Parameters: name - application configuration name Parameters: config - application configuration represented as a set of properties. a JBI Management message indicating the status of the operation. throws: JBIRemoteException - if there is a jmx error accessing the instance |
setApplicationVariables | public String setApplicationVariables(String componentName, String targetName, Properties appVariables) throws JBIRemoteException(Code) | | Set application variables on a component installed on a given target. If
even a variable from the set has not been added to the component, this
operation fails.
Parameters: componentName - component identification Parameters: targetName - identification of the target. Can be a standalone server,cluster or clustered instance. Parameters: appVariables - -set of application variables to update. The values of theapplication variables have the application variable type andvalue and the format is "[type]value" a JBI Management message indicating the status of the operation.In case a variable is not set the management message has a ERRORtask status message giving the details of the failure. throws: JBIRemoteException - if there is a jmx error accessing the instance |
setComponentConfiguration | public Properties setComponentConfiguration(String componentName, Properties configurationValues, String targetName) throws JBIRemoteException(Code) | | Will return jbi mgmt message with success, failure, or partial success
per instance. The Map entry per instance will have value as Properties
object. String object should be returned when there is a failure to
retrieve the configuration on a particular instance. The other way is to
have Properties object in both success and failure case, but in the
failure case, the Properties object will have a predefined name, value
pair ("com.sun.jbi.cluster.instance.error", "xml text" ) in the
properties object.
Parameters: componentName - Parameters: configurationValues - Parameters: targetName - |
setComponentConfiguration | public String setComponentConfiguration(String componentName, String targetName, Properties configurationValues) throws JBIRemoteException(Code) | | Set the component static configuration. This operation uses the facade
component configuration MBean to set the component properties.
Parameters: componentName - Parameters: targetName - Parameters: configurationValues - a management message indicating the status of the operation. Ifthe operation fails a JBIException ( encapsulated in theJBIRemoteException ) is thrown, the exception message is amanagement XML message and gives the failure details. |
setComponentLoggerLevel | public void setComponentLoggerLevel(String componentName, String loggerName, Level logLevel, String targetName, String targetInstanceName) throws JBIRemoteException(Code) | | Sets the component log level for a given logger
Parameters: componentName - name of the component Parameters: loggerName - the component logger name Parameters: logLevel - the level to set the logger; when null, reverts the logger toinherit its level from its parent logger Parameters: targetName - name of the target (e.g., cluster1, server, etc.) Parameters: targetInstanceName - name of the target instance (e.g., cluster1-instance1, etc.) throws: JBIRemoteException - on error |
setRuntimeConfiguration | public boolean setRuntimeConfiguration(Properties parameters, String targetName) throws JBIRemoteException(Code) | | This method sets one or more configuration parameters on the runtime with
a list of name/value pairs passed as a properties object. The property
name in the properties object should be an existing configuration
parameter name. If user try to set the parameter that is not in the
configuration parameters list, this method will throw an exception.
The value of the property can be any object. If the value is non string
object, its string value (Object.toString()) will be used as a value that
will be set on the configuration.
This method first validates whether all the paramters passed in
properties object exist in the runtime configuration or not. If any one
the parameters passed is not existing, it will return an error without
settings the parameters that are passed in the properties including a
valid parameters.
If there is an error in setting a paramter, this method throws an
exception with the list of parameters that were not set.
Parameters: Properties - params Properties object that contains name/value pairscorresponding to the configuration parameters to be set on theruntime. Parameters: targetName - cluster or instance name ( e.g. cluster1, instance1 ) on whichconfiguration parameters will be set. null to represent thedefault instance which is admin server true if server restart is required, false if not throws: JBIRemoteException - if there is a jmx error or a invalid parameter is passed inthe params properties object. In case of an error setting thea particular parameter, the error message should list theinvalid parameters. |
setRuntimeLoggerLevel | public void setRuntimeLoggerLevel(String runtimeLoggerName, Level logLevel, String targetName, String targetInstanceName) throws JBIRemoteException(Code) | | Sets the log level for a given runtime logger
Parameters: runtimeLoggerName - name of the runtime logger Parameters: logLevel - the level to set the logger Parameters: targetName - name of the target (e.g., cluster1, server, etc.) Parameters: targetInstanceName - name of the target instance (e.g., cluster1-instance1, etc.) throws: JBIRemoteException - on error |
setRuntimeLoggerLevel | public void setRuntimeLoggerLevel(String runtimeLoggerName, Level logLevel, String targetName) throws JBIRemoteException(Code) | | Sets the log level for a given runtime logger
Parameters: runtimeLoggerName - name of the runtime logger Parameters: logLevel - the level to set the logger Parameters: targetName - name of the target (e.g., cluster1, server, etc.) throws: JBIRemoteException - on error |
showBindingComponent | public String showBindingComponent(String name, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws JBIRemoteException(Code) | | return component info xml text for the specified binding component if
exists. If no binding component with that name exists, it returns the xml
with empty list.
Parameters: name - name of the binding component to lookup Parameters: state - return the binding component that is in the specified state.valid states are JBIComponentInfo.STARTED, STOPPED, INSTALLEDor null for ANY state Parameters: sharedLibraryName - return the binding component that has a dependency on thespecified shared library. null value to ignore this option. Parameters: serviceAssemblyName - return the binding component that has the specified serviceassembly deployed on it. null value to ignore this option. Parameters: targetName - xml text contain the binding component info that confirms to thecomponent info list xml grammer. throws: JBIRemoteException - if error or exception occurs. See Also: com.sun.jbi.ui.common.JBIAdminCommands.showBindingComponent(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String) |
showBindingComponent | public Map<String, String> showBindingComponent(String name, String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) throws JBIRemoteException(Code) | | return component info xml text for the specified binding component if
exists. If no binding component with that name exists, it returns the xml
with empty list.
Parameters: name - name of the binding component to lookup Parameters: state - return the binding component that is in the specified state.valid states are JBIComponentInfo.STARTED, STOPPED, INSTALLEDor null for ANY state Parameters: sharedLibraryName - return the binding component that has a dependency on thespecified shared library. null value to ignore this option. Parameters: serviceAssemblyName - return the binding component that has the specified serviceassembly deployed on it. null value to ignore this option. Parameters: targetName - xml text contain the binding component info that confirms to thecomponent info list xml grammer as a map of [targetName,xmlString]. throws: JBIRemoteException - if error or exception occurs. See Also: com.sun.jbi.ui.common.JBIAdminCommands.showBindingComponent(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String[]) |
showServiceEngine | public String showServiceEngine(String name, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws JBIRemoteException(Code) | | return component info xml text for the specified service engine if
exists. If no service engine with that name exists, it returns the xml
with empty list.
Parameters: name - name of the service engine to lookup Parameters: state - return service engine that is in the specified state. validstates are JBIComponentInfo.STARTED, STOPPED, INSTALLED ornull for ANY state Parameters: sharedLibraryName - return service engine that has a dependency on the specifiedshared library. null value to ignore this option. Parameters: serviceAssemblyName - return the service engine that has the specified serviceassembly deployed on it. null value to ignore this option. Parameters: targetName - xml text contain the service engine component info that confirmsto the component info list xml grammer. throws: JBIRemoteException - if error or exception occurs. See Also: com.sun.jbi.ui.common.JBIAdminCommands.showServiceEngine(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String) |
showServiceEngine | public Map<String, String> showServiceEngine(String name, String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames) throws JBIRemoteException(Code) | | return component info xml text for the specified service engine if
exists. If no service engine with that name exists, it returns the xml
with empty list.
Parameters: name - name of the service engine to lookup Parameters: state - return service engine that is in the specified state. validstates are JBIComponentInfo.STARTED, STOPPED, INSTALLED ornull for ANY state Parameters: sharedLibraryName - return service engine that has a dependency on the specifiedshared library. null value to ignore this option. Parameters: serviceAssemblyName - return the service engine that has the specified serviceassembly deployed on it. null value to ignore this option. Parameters: targetName - xml text contain the service engine component info that confirmsto the component info list xml grammer as a map of [targetName,xmlString]. throws: JBIRemoteException - if error or exception occurs. See Also: com.sun.jbi.ui.common.JBIAdminCommands.showServiceEngine(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String[]) |
shutdownServiceAssembly | public String shutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String targetName) throws JBIRemoteException(Code) | | shuts down service assembly
Parameters: serviceAssemblyName - name of the service assembly Parameters: forceShutdown - Parameters: targetName - name of the target for this operation Map of targetName and result as a management message xml textstrings. throws: JBIRemoteException - on error |
shutdownServiceAssembly | public Map<String /* targetName */, String shutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String[] targetNames) throws JBIRemoteException(Code) | | shuts down service assembly
Parameters: serviceAssemblyName - name of the service assembly Parameters: forceShutdown - Parameters: targetName - name of the target for this operation Map of targetName and result as a management message xml textstrings. throws: JBIRemoteException - on error |
undeployServiceAssembly | public String undeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, String targetName) throws JBIRemoteException(Code) | | undeploys service assembly
Parameters: serviceAssemblyName - name of the service assembly Parameters: forceDelete - forces deletion of the assembly if true, false if not Parameters: targetName - name of the target for this operation Map of targetName and result as a management message xml textstrings. throws: JBIRemoteException - on error |
undeployServiceAssembly | public Map<String /* targetName */, String undeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, String[] targetNames) throws JBIRemoteException(Code) | | undeploys service assembly
Parameters: serviceAssemblyName - name of the service assembly Parameters: forceDelete - true to delete, false to not Parameters: targetName - name of the target for this operation Map of targetName and result as a management message xml textstrings. throws: JBIRemoteException - on error |
undeployServiceAssembly | public String undeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, boolean retainInDomain, String targetName) throws JBIRemoteException(Code) | | undeploys service assembly
Parameters: serviceAssemblyName - name of the service assembly Parameters: forceDelete - forces deletion of the assembly if true, false if not Parameters: retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target. Parameters: targetName - name of the target for this operation result as a management message xml text string. throws: JBIRemoteException - on error |
undeployServiceAssembly | public Map<String /* targetName */, String undeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, boolean retainInDomain, String[] targetNames) throws JBIRemoteException(Code) | | undeploys service assembly
Parameters: serviceAssemblyName - name of the service assembly Parameters: forceDelete - forces deletion of the assembly if true, false if not Parameters: retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target. Parameters: targetNames - array of targets for this operation Map of targetName and result as a management message xml textstrings. throws: JBIRemoteException - on error |
uninstallComponent | public String uninstallComponent(String componentName, boolean forceDelete, String targetName) throws JBIRemoteException(Code) | | uninstalls component ( service engine, binding component)
Parameters: componentName - name of the component Parameters: forceDelete - true to delete, false to not Parameters: targetName - name of the target for this operation Map of targetName and component name strings. throws: JBIRemoteException - on error |
uninstallComponent | public Map<String /* targetName */, String uninstallComponent(String componentName, boolean forceDelete, String[] targetNames) throws JBIRemoteException(Code) | | uninstalls component ( service engine, binding component)
Parameters: componentName - name of the component Parameters: forceDelete - true to delete, false to not Parameters: targetName - name of the target for this operation Map of targetName and component name strings. throws: JBIRemoteException - on error |
uninstallComponent | public String uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String targetName) throws JBIRemoteException(Code) | | uninstalls component ( service engine, binding component)
Parameters: componentName - name of the component Parameters: forceDelete - true to delete, false to not Parameters: retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target. Parameters: targetName - name of the target for this operation component name string. throws: JBIRemoteException - on error |
uninstallComponent | public Map<String /* targetName */, String uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String[] targetNames) throws JBIRemoteException(Code) | | uninstalls component ( service engine, binding component)
Parameters: componentName - name of the component Parameters: forceDelete - true to delete, false to not Parameters: retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target. Parameters: targetNames - array of targets for this operation Map of targetName and component name strings. throws: JBIRemoteException - on error |
uninstallComponentInternal | String uninstallComponentInternal(String componentName, boolean force, boolean retainInDomain, String targetName) throws JBIRemoteException(Code) | | uninstalls component ( service engine, binding component)
Parameters: componentName - name of the component Parameters: force - Parameters: retainInDomain - Parameters: targetName - name of the component. throws: JBIRemoteException - on error |
uninstallSharedLibrary | public String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String targetName) throws JBIRemoteException(Code) | | uninstalls shared library
Parameters: sharedLibraryName - name of the shared library Parameters: forceDelete - true to delete, false to not Parameters: targetName - name of the target for this operation Map of targetName and shared library name strings. throws: JBIRemoteException - on error |
uninstallSharedLibrary | public Map<String /* targetName */, String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String[] targetNames) throws JBIRemoteException(Code) | | uninstalls shared library
Parameters: sharedLibraryName - name of the shared library Parameters: forceDelete - true to delete, false to not Parameters: targetName - name of the target for this operation Map of targetName and shared library name strings. throws: JBIRemoteException - on error |
uninstallSharedLibrary | public String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String targetName) throws JBIRemoteException(Code) | | uninstalls shared library
Parameters: sharedLibraryName - name of the shared library Parameters: forceDelete - true to delete, false to not Parameters: retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target. Parameters: targetName - name of the target for this operation shared library name string. throws: JBIRemoteException - on error |
uninstallSharedLibrary | public Map<String /* targetName */, String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String[] targetNames) throws JBIRemoteException(Code) | | uninstalls shared library
Parameters: sharedLibraryName - name of the shared library Parameters: forceDelete - true to delete, false to not Parameters: retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target. Parameters: targetNames - array of targets for this operation Map of targetName and shared library name strings. throws: JBIRemoteException - on error |
updateComponent | public String updateComponent(String componentName, String zipFilePath) throws JBIRemoteException(Code) | | updates component ( service engine, binding component)
Parameters: componentName - Name of the component to update. Parameters: zipFilePath - archive file in a zip format The name of the component if successful throws: JBIRemoteException - on error |
validateServiceAssembly | String validateServiceAssembly(String zipFilePath)(Code) | | Retrieve the Service Assembly Name
Parameters: zipFilePath - the name of the Service Assembly or null |
verifyApplication | public CompositeData verifyApplication(String applicationURL, String targetName, boolean generateTemplates, String templateDir, boolean includeDeployCommand) throws JBIRemoteException(Code) | | This method is used to verify if the application variables and
application configuration objects used in the given
application are available in JBI runtime in the specified target.
Also this method verifies if all necessary components are installed.
If generateTemplates is true templates for missing application variables
and application configurations are generated. A command script that uses
the template files to set configuration objects is generated.
Parameters: applicationURL - the URL for the application zip file Parameters: targetName - the target on which the application has to be verified Parameters: generateTemplates - true if templates have to be generated Parameters: templateDir - the dir to store the generated templates Parameters: includeDeployCommand - true if the generated script should includedeploy command throws: JBIRemoteException - if the application could not be verifiedNote: param templateDir is used between ant/cli and common client clientTemplateZIPID is used between common client server and common client client |
Methods inherited from com.sun.jbi.ui.runtime.mbeans.AbstractUIMBeanImpl | protected AttributeList constructMBeanAttributes(ObjectName objectName, Properties params) throws JBIRemoteException(Code)(Java Doc) protected AttributeList constructMBeanAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, Properties params) throws JBIRemoteException(Code)(Java Doc) String convertToEnvironmentVariableString(Object valueObject)(Code)(Java Doc) TabularData createEnvironmentVariableTabularStructure() throws OpenDataException(Code)(Java Doc) Exception createManagementException(String bundleKey, String[] args, Exception sourceException)(Code)(Java Doc) String createManagementMessage(String taskId, boolean successResult, String msgType, String msgCode, Object[] args)(Code)(Java Doc) public ObjectName findDeployerMBean(String componentName) throws JBIRemoteException(Code)(Java Doc) public ObjectName getAdminServiceMBeanObjectName() throws JBIRemoteException(Code)(Java Doc) protected AdministrationService getAdministrationService()(Code)(Java Doc) protected Object getAttributeValue(MBeanServer mbeanServer, ObjectName objectName, String attributeName) throws JBIRemoteException(Code)(Java Doc) protected Object getAttributeValue(ObjectName objectName, String attributeName) throws JBIRemoteException(Code)(Java Doc) String getComponentConfigurationDisplayData(MBeanServer server, ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) String getComponentConfigurationDisplayData(MBeanServerConnection connection, ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) String getComponentConfigurationDisplaySchema(MBeanServer server, ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) String getComponentConfigurationDisplaySchema(MBeanServerConnection connection, ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) List getComponentConfigurationPasswordFields(String xmlDataString, String[] keys) throws JBIRemoteException(Code)(Java Doc) Map<String /* targetInstanceName */, Properties getComponentConfigurationProperties(String componentName, String targetName)(Code)(Java Doc) public ObjectName getComponentLifeCycleMBeanObjectName(String componentName, String targetName) throws JBIRemoteException(Code)(Java Doc) protected String getComponentNameFromJmxObjectName(ObjectName jmxObjectName)(Code)(Java Doc) public Collection getComponentNamesDependentOnServiceAssembly(String saId, String targetName)(Code)(Java Doc) public Collection getComponentNamesDependentOnServiceAssembly(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String saName, String targetName)(Code)(Java Doc) public Collection getComponentNamesDependentOnSharedLibrary(String slibName, String targetName)(Code)(Java Doc) public Collection getComponentNamesDependentOnSharedLibrary(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String slibName, String targetName)(Code)(Java Doc) public Collection getComponentNamesDependentOnSharedLibraryAndServiceAssembly(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String slibName, String saName, String targetName)(Code)(Java Doc) public Set getComponentNamesWithStatus(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String targetName)(Code)(Java Doc) protected Properties getConfigurationAttributeValues(ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) protected Map<String, Descriptor> getConfigurationDescriptors(ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) public ObjectName getConfigurationMBeanObjectName(String targetName, String configurationType) throws JBIRemoteException(Code)(Java Doc) protected ConfigurationService getConfigurationService()(Code)(Java Doc) Properties getDefaultRuntimeConfigurationInternal(String targetName) throws JBIRemoteException(Code)(Java Doc) protected DeploymentService getDeploymentService()(Code)(Java Doc) public ObjectName getDeploymentServiceMBeanObjectName(String targetName)(Code)(Java Doc) protected static EnvironmentContext getEnvironmentContext()(Code)(Java Doc) TabularData getEnvironmentVariables(Map<String, String[]> environmentVariableMap, CompositeType environmentVariableRowType) throws OpenDataException(Code)(Java Doc) public ObjectName getExtensionMBeanObjectName(String componentName, String targetName) throws JBIRemoteException(Code)(Java Doc) public List getFrameworkComponentInfoList(Collection compNameList, String targetName)(Code)(Java Doc) protected List getFrameworkComponentInfoListForEnginesAndBindings(ComponentType frameworkCompType, ComponentState frameworkCompState, String sharedLibraryName, String serviceAssemblyName, String targetName) throws JBIRemoteException(Code)(Java Doc) protected List getFrameworkComponentInfoListForSharedLibraries(String componentName, String targetName) throws JBIRemoteException(Code)(Java Doc) public List getFrameworkComponentInfoListForSharedLibraryNames(Collection slibNameList, String targetName)(Code)(Java Doc) protected ComponentQuery getFrameworkComponentQuery(String targetName)(Code)(Java Doc) protected static I18NBundle getI18NBundle()(Code)(Java Doc) public String getInstallationDescriptor(String componentName, String targetName)(Code)(Java Doc) protected InstallationService getInstallationService()(Code)(Java Doc) public ObjectName getInstallationServiceMBeanObjectName()(Code)(Java Doc) public ObjectName getInstallationServiceMBeanObjectName(String targetName)(Code)(Java Doc) public ObjectName getLoggingServiceMBeanObjectName(String targetName)(Code)(Java Doc) protected Object getMBeanAttribute(ObjectName objectName, String attributeName) throws JBIRemoteException(Code)(Java Doc) protected Properties getMBeanAttributeValues(MBeanServer mbeanServer, ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) protected Properties getMBeanAttributeValues(MBeanServerConnection connection, ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) protected MBeanInfo getMBeanInfo(ObjectName mbeanName) throws JBIRemoteException(Code)(Java Doc) protected PerformanceMeasurementService getPerformanceMeasurementService()(Code)(Java Doc) protected PlatformContext getPlatformContext()(Code)(Java Doc) Properties getRuntimeConfigurationInternal(String targetName) throws JBIRemoteException(Code)(Java Doc) Map<String /* propertyKeyName */, Properties> getRuntimeConfigurationMetadataInternal(String targetName) throws JBIRemoteException(Code)(Java Doc) protected RuntimeManagementService getRuntimeManagementService()(Code)(Java Doc) protected List getServiceAssemblyInfoList(String frameworkState, String componentName, String targetName) throws JBIRemoteException(Code)(Java Doc) public String getSharedLibraryDescriptor(String libraryName, String targetName)(Code)(Java Doc) public ObjectName[] getSystemLoggerMBeans(String instanceName)(Code)(Java Doc) public List getUiComponentInfoList(ComponentType frameworkCompType, String targetName) throws JBIRemoteException(Code)(Java Doc) protected Object invokeMBeanOperation(ObjectName objectName, String operationName, Object[] params, String[] signature) throws JBIRemoteException(Code)(Java Doc) protected Object invokeMBeanOperation(ObjectName objectName, String operationName, String param) throws JBIRemoteException(Code)(Java Doc) protected Object invokeMBeanOperation(ObjectName objectName, String operationName) throws JBIRemoteException(Code)(Java Doc) public boolean isExistingComponent(String componentName, String targetName)(Code)(Java Doc) public boolean isExistingSharedLibrary(String sharedLibraryName, String targetName)(Code)(Java Doc) boolean isMBeanRegistered(ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) public boolean isSharedLibraryArchive(String zipPath)(Code)(Java Doc) boolean isValidTarget(ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) public static void log(String aMsg)(Code)(Java Doc) public static void logDebug(String aMsg)(Code)(Java Doc) public static void logDebug(Exception ex)(Code)(Java Doc) public static void logError(Exception ex)(Code)(Java Doc) public static void logWarning(Exception ex)(Code)(Java Doc) String maskSensitiveString(String sensitiveString, char maskCharacter)(Code)(Java Doc) protected void setAttributeValue(ObjectName objectName, String attributeName, Object attributeValue) throws JBIRemoteException(Code)(Java Doc) Properties setComponentConfigurationProperties(String componentName, Properties configurationValues, String targetName) throws JBIRemoteException(Code)(Java Doc) Map<String, String[]> setEnvironmentVariables(TabularData tabularDataIn) throws InvalidAttributeValueException, OpenDataException, MBeanException(Code)(Java Doc) protected void setMBeanAttribute(ObjectName objectName, String attributeName, Object attributeValue) throws JBIRemoteException(Code)(Java Doc) protected void setMBeanAttributes(ObjectName objectName, AttributeList attrList) throws JBIRemoteException(Code)(Java Doc) protected AttributeList setMBeanAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, AttributeList attrList) throws JBIRemoteException(Code)(Java Doc) protected String setMBeanConfigAttributes(ObjectName objectName, AttributeList attrList) throws JBIRemoteException(Code)(Java Doc) protected String setMBeanConfigAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, AttributeList attrList) throws JBIRemoteException(Code)(Java Doc) boolean setRuntimeConfigurationInternal(Properties properties, String targetName) throws JBIRemoteException(Code)(Java Doc) public static ComponentState toFrameworkComponentInfoState(String uiCompState)(Code)(Java Doc) public static ComponentType toFrameworkComponentInfoType(String uiCompType)(Code)(Java Doc) public static String toFrameworkServiceAssemblyState(String uiState)(Code)(Java Doc) public JBIComponentInfo toUiComponentInfo(ComponentInfo frameworkCompInfo, String targetName) throws JBIRemoteException(Code)(Java Doc) public List toUiComponentInfoList(List frameworkCompList, String targetName) throws JBIRemoteException(Code)(Java Doc) public static String toUiComponentInfoState(ComponentState frameworkCompState)(Code)(Java Doc) public static String toUiComponentInfoType(ComponentType frameworkCompType)(Code)(Java Doc) public static String toUiServiceAssemblyState(String frameworkState)(Code)(Java Doc) public static String toUiServiceUnitState(String frameworkState)(Code)(Java Doc) protected void updateEachServiceUnitInfoStateInServiceAssemblyInfo(ServiceAssemblyInfo saInfo, String targetName) throws JBIRemoteException(Code)(Java Doc) protected void updateServiceAssemblyInfoState(ServiceAssemblyInfo saInfo, String targetName) throws JBIRemoteException(Code)(Java Doc) protected void updateServiceUnitInfoState(ServiceUnitInfo suInfo, ObjectName deploymentServiceMBean)(Code)(Java Doc) public void validateUiJBIComponentInfoState(String state) throws JBIRemoteException(Code)(Java Doc) public void validateUiServiceAssemblyInfoState(String state) throws JBIRemoteException(Code)(Java Doc)
|
|
|