Java Doc for JBIAdminCommands.java in  » ESB » open-esb » com » sun » jbi » ui » common » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ESB » open esb » com.sun.jbi.ui.common 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.jbi.ui.common.JBIAdminCommands

All known Subclasses:   com.sun.jbi.ui.client.JBIAdminCommandsClientImpl,
JBIAdminCommands
public interface JBIAdminCommands (Code)

author:
   graj


Field Summary
final public static  StringCUSTOM_CONFIGURATION_NAME_KEY
    
final public static  StringCUSTOM_LOGGER_NAME_KEY
    
final public static  StringDOMAIN_TARGET_KEY
    
final public static  StringSERVER_TARGET_KEY
    


Method Summary
public  StringaddApplicationConfiguration(String componentName, String targetName, String name, Properties config)
     Add a named application configuration to a component installed on a given target.
public  StringaddApplicationVariables(String componentName, String targetName, Properties appVariables)
     Add application variables to a component installed on a given target.
public  StringdeleteApplicationConfiguration(String componentName, String targetName, String name)
     Delete a named application configuration in a component installed on a given target.
public  StringdeleteApplicationVariables(String componentName, String targetName, String[] appVariableNames)
     Delete application variables from a component installed on a given target.
public  StringdeployServiceAssembly(String zipFilePath, String targetName)
    
public  Map<String /* targetName */, StringdeployServiceAssembly(String zipFilePath, String[] targetNames)
    
public  StringdeployServiceAssemblyFromDomain(String assemblyName, String targetName)
    
public  Map<String /* targetName */, StringdeployServiceAssemblyFromDomain(String assemblyName, String[] targetNames)
    
public  StringexportApplicationConfiguration(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  PropertiesgetApplicationConfiguration(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  PropertiesgetApplicationVariables(String componentName, String targetName)
     Get all the application variables set on a component. all the application variables et on the component.
 PropertiesgetComponentConfiguration(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  StringgetComponentInstallationDescriptor(String componentName)
     Returns the jbi.xml Installation Descriptor for a Service Engine/Binding Component.
public  Map<String /* loggerCustomName */, StringgetComponentLoggerDisplayNames(String componentName, String targetName, String targetInstanceName)
     Gets the component custom loggers and their display names.
public  Map<String /* loggerCustomName */, LevelgetComponentLoggerLevels(String componentName, String targetName, String targetInstanceName)
    
public  TabularDatagetComponentStats(String componentName, String targetName)
    
public  TabularDatagetConsumingEndpointsForComponent(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  PropertiesgetDefaultRuntimeConfiguration()
     This method returns a tabular data of a complex open data objects that represent the runtime configuration parameter descriptor.
public  TabularDatagetEndpointStats(String endpointName, String targetName)
    
public  TabularDatagetFrameworkStats(String targetName)
     This method is used to provide JBIFramework statistics in the given target.
Parameters:
  target - target name.
public  TabularDatagetNMRStats(String targetName)
     This method is used to provide statistics about the message service in the given target.
Parameters:
  target - target name.
public  TabularDatagetProvidingEndpointsForComponent(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  PropertiesgetRuntimeConfiguration(String targetName)
     This method returns a tabular data of a complex open data objects that represent the runtime configuration parameter descriptor.
 PropertiesgetRuntimeConfigurationMetaData(String propertyKeyName)
     This method returns the runtime configuration metadata associated with the specified property.
public  StringgetRuntimeLoggerDisplayName(String runtimeLoggerName, String targetName, String targetInstanceName)
     Return the display name for a runtime logger
Parameters:
  runtimeLoggerName - name of the logger (e.g.
public  StringgetRuntimeLoggerDisplayName(String runtimeLoggerName, String targetName)
     Return the display name for a runtime logger
Parameters:
  runtimeLoggerName - name of the logger (e.g.
public  LevelgetRuntimeLoggerLevel(String runtimeLoggerName, String targetName, String targetInstanceName)
     Lookup the level of one runtime logger
Parameters:
  runtimeLoggerName - name of the runtime logger (e.g.
public  LevelgetRuntimeLoggerLevel(String runtimeLoggerName, String targetName)
     Lookup the level of one runtime logger
Parameters:
  runtimeLoggerName - name of the runtime logger (e.g.
public  Map<String /* runtimeLoggerName */, LevelgetRuntimeLoggerLevels(String targetName, String targetInstanceName)
    
public  Map<String /* runtimeLoggerName */, LevelgetRuntimeLoggerLevels(String targetName)
    
public  Map<String /* display name */, StringgetRuntimeLoggerNames(String targetName, String targetInstanceName)
    
public  Map<String /* display name */, StringgetRuntimeLoggerNames(String targetName)
    
public  StringgetServiceAssemblyDeploymentDescriptor(String serviceAssemblyName)
     Returns the jbi.xml Deployment Descriptor for a Service Assembly.
public  TabularDatagetServiceAssemblyStats(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  StringgetServiceUnitDeploymentDescriptor(String serviceAssemblyName, String serviceUnitName)
     Returns the jbi.xml Deployment Descriptor for a Service Unit.
public  StringgetSharedLibraryInstallationDescriptor(String sharedLibraryName)
     Returns the jbi.xml Installation Descriptor for a Shared Library.
public  StringinstallComponent(String zipFilePath, Properties paramProps, String targetName)
    
public  StringinstallComponent(String zipFilePath, String targetName)
    
public  Map<String /* targetName */, StringinstallComponent(String zipFilePath, Properties paramProps, String[] targetNames)
    
public  Map<String /* targetName */, StringinstallComponent(String zipFilePath, String[] targetNames)
    
public  StringinstallComponentFromDomain(String componentName, String targetName)
    
public  StringinstallComponentFromDomain(String componentName, Properties properties, String targetName)
    
public  Map<String /* targetName */, StringinstallComponentFromDomain(String componentName, String[] targetNames)
    
public  Map<String /* targetName */, StringinstallComponentFromDomain(String componentName, Properties properties, String[] targetNames)
    
public  StringinstallSharedLibrary(String zipFilePath, String targetName)
    
public  Map<String /* targetName */, StringinstallSharedLibrary(String zipFilePath, String[] targetNames)
    
public  StringinstallSharedLibraryFromDomain(String libraryName, String targetName)
    
public  Map<String /* targetName */, StringinstallSharedLibraryFromDomain(String libraryName, String[] targetNames)
    
public  booleanisAppConfigSupported(String componentName, String targetName)
     Detect the components support for application configuration.
public  booleanisAppVarsSupported(String componentName, String targetName)
     Detect the components support for application variables.
public  booleanisComponentConfigSupported(String componentName, String targetName)
     Detect the components support for component configuration.
public  booleanisJBIRuntimeEnabled()
     Checks to see if the JBI Runtime is enabled.
public  booleanisServerRestartRequired()
     checks if the server need to be restarted to apply the changes made to some of the configuration parameters. true if server needs to be restarted for updated configuration totake effect.
public  booleanisTargetUp(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  StringlistBindingComponents(String targetName)
     return component info xml text that has only binding component infos.
public  StringlistBindingComponents(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 /* targetName */, StringlistBindingComponents(String[] targetNames)
     return component info xml text that has only binding component infos.
public  Map<String /* targetName */, StringlistBindingComponents(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  StringlistServiceAssemblies(String targetName)
     returns a list of Service Assembly Infos in a xml format.
public  StringlistServiceAssemblies(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  StringlistServiceAssemblies(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 /* targetName */, StringlistServiceAssemblies(String[] targetNames)
     returns a list of Service Assembly Infos in a xml format.
public  Map<String /* targetName */, StringlistServiceAssemblies(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 /* targetName */, StringlistServiceAssemblies(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  StringlistServiceEngines(String targetName)
     return component info xml text that has only service engine infos.
public  StringlistServiceEngines(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 /* targetName */, StringlistServiceEngines(String[] targetNames)
     return component info xml text that has only service engine infos.
public  Map<String /* targetName */, StringlistServiceEngines(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  StringlistSharedLibraries(String targetName)
     return component info xml text that has only shared library infos.
public  StringlistSharedLibraries(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 /* targetName */, StringlistSharedLibraries(String[] targetNames)
     return component info xml text that has only shared library infos.
public  Map<String /* targetName */, StringlistSharedLibraries(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  StringlistSharedLibraryDependents(String sharedLibraryName, String targetName)
    
public  Map<String /* targetName */, StringlistSharedLibraryDependents(String sharedLibraryName, String[] targetNames)
    
public  javax.management.openmbean.CompositeTypequeryApplicationConfigurationType(String componentName, String targetName)
     Get the CompositeType definition for the components application configuration
Parameters:
  componentName - component identification
Parameters:
  targetName - identification of the target.
public  StringretrieveConfigurationDisplayData(String componentName, String targetName)
     Retrieves the component configuration metadata. The XML data conforms to the component configuration schema.
Parameters:
  componentName - component identification
Parameters:
  targetName - identification of the target.
public  StringretrieveConfigurationDisplaySchema(String componentName, String targetname)
     Retrieves the component specific configuration schema.
Parameters:
  componentName - component identification
Parameters:
  targetName - identification of the target.
public  StringsetApplicationConfiguration(String componentName, String targetName, String name, Properties config)
     Update a named application configuration in a component installed on a given target.
public  StringsetApplicationVariables(String componentName, String targetName, Properties appVariables)
     Set application variables on a component installed on a given target.
public  StringsetComponentConfiguration(String targetName, String componentName, Properties configurationValues)
     Will return jbi mgmt message with success, failure, or partial success per instance.
public  voidsetComponentLoggerLevel(String componentName, String loggerCustomName, Level logLevel, String targetName, String targetInstanceName)
    
public  booleansetRuntimeConfiguration(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  voidsetRuntimeLoggerLevel(String runtimeLoggerName, Level logLevel, String targetName, String targetInstanceName)
    
public  voidsetRuntimeLoggerLevel(String runtimeLoggerName, Level logLevel, String targetName)
    
public  StringshowBindingComponent(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 /* targetName */, StringshowBindingComponent(String name, String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames)
     return component info xml text for the specified binding component if exists.
public  StringshowServiceAssembly(String name, String state, String componentName, String targetName)
     return service assembly info xml text for the specified service assembly if exists.
public  Map<String /* targetName */, StringshowServiceAssembly(String name, String state, String componentName, String[] targetNames)
     return service assembly info xml text for the specified service assembly if exists.
public  StringshowServiceEngine(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 /* targetName */, StringshowServiceEngine(String name, String state, String sharedLibraryName, String serviceAssemblyName, String[] targetNames)
     return component info xml text for the specified service engine if exists.
public  StringshowSharedLibrary(String name, String componentName, String targetName)
     return component info xml text for the specified shared library if exists.
public  Map<String /* targetName */, StringshowSharedLibrary(String name, String componentName, String[] targetNames)
     return component info xml text for the specified shared library if exists.
public  StringshutdownComponent(String componentName, String targetName)
    
public  StringshutdownComponent(String componentName, boolean force, String targetName)
    
public  Map<String /* targetName */, StringshutdownComponent(String componentName, String[] targetNames)
    
public  Map<String /* targetName */, StringshutdownComponent(String componentName, boolean force, String[] targetNames)
    
public  StringshutdownServiceAssembly(String serviceAssemblyName, String targetName)
    
public  StringshutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String targetName)
    
public  Map<String /* targetName */, StringshutdownServiceAssembly(String serviceAssemblyName, String[] targetNames)
    
public  Map<String /* targetName */, StringshutdownServiceAssembly(String serviceAssemblyName, boolean forceShutdown, String[] targetNames)
    
public  StringstartComponent(String componentName, String targetName)
    
public  Map<String /* targetName */, StringstartComponent(String componentName, String[] targetNames)
    
public  StringstartServiceAssembly(String serviceAssemblyName, String targetName)
    
public  Map<String /* targetName */, StringstartServiceAssembly(String serviceAssemblyName, String[] targetNames)
    
public  StringstopComponent(String componentName, String targetName)
    
public  Map<String /* targetName */, StringstopComponent(String componentName, String[] targetNames)
    
public  StringstopServiceAssembly(String serviceAssemblyName, String targetName)
    
public  Map<String /* targetName */, StringstopServiceAssembly(String serviceAssemblyName, String[] targetNames)
    
public  StringundeployServiceAssembly(String serviceAssemblyName, String targetName)
    
public  Map<String /* targetName */, StringundeployServiceAssembly(String serviceAssemblyName, String[] targetNames)
    
public  StringundeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, String targetName)
    
public  Map<String /* targetName */, StringundeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, String[] targetNames)
    
public  StringundeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, boolean retainInDomain, String targetName)
    
public  Map<String /* targetName */, StringundeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, boolean retainInDomain, String[] targetNames)
    
public  StringuninstallComponent(String componentName, String targetName)
    
public  Map<String /* targetName */, StringuninstallComponent(String componentName, String[] targetNames)
    
public  StringuninstallComponent(String componentName, boolean forceDelete, String targetName)
    
public  Map<String /* targetName */, StringuninstallComponent(String componentName, boolean forceDelete, String[] targetNames)
    
public  StringuninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String targetName)
    
public  Map<String /* targetName */, StringuninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String[] targetNames)
    
public  StringuninstallSharedLibrary(String sharedLibraryName, String targetName)
    
public  Map<String /* targetName */, StringuninstallSharedLibrary(String sharedLibraryName, String[] targetNames)
    
public  StringuninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String targetName)
    
public  Map<String /* targetName */, StringuninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String[] targetNames)
    
public  StringuninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String targetName)
    
public  Map<String /* targetName */, StringuninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String[] targetNames)
    
public  StringupdateComponent(String componentName, String zipFilePath)
    
public  CompositeDataverifyApplication(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.

Field Detail
CUSTOM_CONFIGURATION_NAME_KEY
final public static String CUSTOM_CONFIGURATION_NAME_KEY(Code)



CUSTOM_LOGGER_NAME_KEY
final public static String CUSTOM_LOGGER_NAME_KEY(Code)



DOMAIN_TARGET_KEY
final public static String DOMAIN_TARGET_KEY(Code)



SERVER_TARGET_KEY
final public static String SERVER_TARGET_KEY(Code)





Method Detail
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 a ERROR 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 deleteda 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 a ERROR task status message giving the details of the failure.
throws:
  JBIRemoteException - if there is a jmx error accessing the instance



deployServiceAssembly
public String deployServiceAssembly(String zipFilePath, String targetName) throws JBIRemoteException(Code)
deploys service assembly
Parameters:
  zipFilePath - fie path
Parameters:
  targetName - name of the target for this operation Map of targetName and management message xml text strings.
throws:
  JBIRemoteException - on error



deployServiceAssembly
public Map<String /* targetName */, String deployServiceAssembly(String zipFilePath, String[] targetNames) throws JBIRemoteException(Code)
deploys service assembly
Parameters:
  zipFilePath - fie path
Parameters:
  targetName - name of the target for this operation Map of targetName and management message xml text strings.
throws:
  JBIRemoteException - on error



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 String the id for the zip file with exported 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 client client.



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 the configuration 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 return proertiesset has the name="[type]value" pairs for the application variables.a JBI Management message indicating the status of the operation.
throws:
  JBIRemoteException - if there is a jmx error accessing the instance



getComponentConfiguration
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



getComponentInstallationDescriptor
public String getComponentInstallationDescriptor(String componentName) throws JBIRemoteException(Code)
Returns the jbi.xml Installation Descriptor for a Service Engine/Binding Component.
Parameters:
  the - name of the ServiceEngine or Binding Component the jbi.xml deployment descriptor of the archive
throws:
  JBIRemoteException - if error or exception occurs.



getComponentLoggerDisplayNames
public Map<String /* loggerCustomName */, 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 loggerCustomName to their log levels
throws:
  JBIRemoteException - on error



getComponentLoggerLevels
public Map<String /* loggerCustomName */, 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 loggerCustomName 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
throws:
  JBIRemoteException - if the list of endpoints could not be obtained. 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.Each entry in this tabular data is of the following composite typeString - "InstanceName",String[] - "Endpoints",



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
throws:
  JBIRemoteException - if the list of endpoints could not be obtained. 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.Each entry in this tabular data is of the following composite typeString - "InstanceName",String[] - "Endpoints",



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
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.) a Map of loggerCustomName to their log levels
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.) a Map of loggerCustomName to their log levels
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 loggerCustomName 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 loggerCustomName 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 names
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.) a Map of display names to their logger names
throws:
  JBIRemoteException - on error



getServiceAssemblyDeploymentDescriptor
public String getServiceAssemblyDeploymentDescriptor(String serviceAssemblyName) throws JBIRemoteException(Code)
Returns the jbi.xml Deployment Descriptor for a Service Assembly.
Parameters:
  the - name of the Service Assembly the jbi.xml deployment descriptor of the archive
throws:
  JBIRemoteException - if error or exception occurs.



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.



getSharedLibraryInstallationDescriptor
public String getSharedLibraryInstallationDescriptor(String sharedLibraryName) throws JBIRemoteException(Code)
Returns the jbi.xml Installation Descriptor for a Shared Library.
Parameters:
  the - name of the Shared Library the jbi.xml deployment descriptor of the archive
throws:
  JBIRemoteException - if error or exception occurs.



installComponent
public String installComponent(String zipFilePath, Properties paramProps, String targetName) throws JBIRemoteException(Code)
installs component ( service engine, binding component)
Parameters:
  paramProps - Properties object contains name/value pair.
Parameters:
  zipFilePath - archive file in a zip format
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



installComponent
public String installComponent(String zipFilePath, String targetName) throws JBIRemoteException(Code)
installs component ( service engine, binding component)
Parameters:
  zipFilePath - archive file in a zip format
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



installComponent
public Map<String /* targetName */, String installComponent(String zipFilePath, Properties paramProps, String[] targetNames) throws JBIRemoteException(Code)
installs component ( service engine, binding component)
Parameters:
  paramProps - Properties object contains name/value pair.
Parameters:
  zipFilePath - archive file in a zip format
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



installComponent
public Map<String /* targetName */, String installComponent(String zipFilePath, String[] targetNames) throws JBIRemoteException(Code)
installs component ( service engine, binding component)
Parameters:
  zipFilePath - archive file in a zip format
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



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 ( 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 ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetNames - array of targets for this operation
Parameters:
  component - configuration properties Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



installSharedLibrary
public String installSharedLibrary(String zipFilePath, String targetName) throws JBIRemoteException(Code)
installs shared library
Parameters:
  zipFilePath - archive file in a zip format
Parameters:
  targetName - name of the target for this operation Map of targetName and shared library name strings.
throws:
  JBIRemoteException - on error



installSharedLibrary
public Map<String /* targetName */, String installSharedLibrary(String zipFilePath, String[] targetNames) throws JBIRemoteException(Code)
installs shared library
Parameters:
  zipFilePath - archive file in a zip format
Parameters:
  targetName - name of the target for this operation Map of targetName and shared library 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.



isJBIRuntimeEnabled
public boolean isJBIRuntimeEnabled() throws JBIRemoteException(Code)
Checks to see if the JBI Runtime is enabled. true if JBI Runtime Framework is available, false if not
throws:
  JBIRemoteException - if error or exception occurs.



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 needs 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 targetName) throws JBIRemoteException(Code)
return component info xml text that has only binding component infos.
Parameters:
  targetName - name of the target for this operation the component info xml text.
throws:
  JBIRemoteException - on error



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 - name of the target for this operation xml text contain the list of binding component infos
throws:
  JBIRemoteException - if error or exception occurs.



listBindingComponents
public Map<String /* targetName */, String listBindingComponents(String[] targetNames) throws JBIRemoteException(Code)
return component info xml text that has only binding component infos.
Parameters:
  targetName - name of the target for this operation the component info xml text.
throws:
  JBIRemoteException - on error



listBindingComponents
public Map<String /* targetName */, 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 - name of the target for this operation xml text contain the list of binding component infos
throws:
  JBIRemoteException - if error or exception occurs.



listServiceAssemblies
public String listServiceAssemblies(String targetName) throws JBIRemoteException(Code)
returns a list of Service Assembly Infos in a xml format.
Parameters:
  targetName - name of the target for this operation xml text containing the Service Assembly infos
throws:
  JBIRemoteException - on error



listServiceAssemblies
public String listServiceAssemblies(String componentName, String targetName) throws JBIRemoteException(Code)
returns the list of service asssembly infos in a xml format that have the service unit deployed on the specified component.
Parameters:
  componentName - to list all the service assemblies that have some deploymentson this component.
Parameters:
  targetName - name of the target for this operation xml string contain the list of service assembly infos
throws:
  JBIRemoteException - if error or exception occurs.



listServiceAssemblies
public String listServiceAssemblies(String state, String componentName, String targetName) throws JBIRemoteException(Code)
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. JBIServiceAssemblyInfo.STARTED, STOPPED, SHUTDOWN ornull for ANY state
Parameters:
  componentName - to list all the service assemblies that have some deploymentson this component.
Parameters:
  targetName - name of the target for this operation xml string contain the list of service assembly infos
throws:
  JBIRemoteException - if error or exception occurs.



listServiceAssemblies
public Map<String /* targetName */, String listServiceAssemblies(String[] targetNames) throws JBIRemoteException(Code)
returns a list of Service Assembly Infos in a xml format.
Parameters:
  targetName - name of the target for this operation xml text containing the Service Assembly infos
throws:
  JBIRemoteException - on error



listServiceAssemblies
public Map<String /* targetName */, String listServiceAssemblies(String componentName, String[] targetNames) throws JBIRemoteException(Code)
returns the list of service asssembly infos in a xml format that have the service unit deployed on the specified component.
Parameters:
  componentName - to list all the service assemblies that have some deploymentson this component.
Parameters:
  targetName - name of the target for this operation xml string contain the list of service assembly infos
throws:
  JBIRemoteException - if error or exception occurs.



listServiceAssemblies
public Map<String /* targetName */, String listServiceAssemblies(String state, String componentName, String[] targetNames) throws JBIRemoteException(Code)
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. JBIServiceAssemblyInfo.STARTED, STOPPED, SHUTDOWN ornull for ANY state
Parameters:
  componentName - to list all the service assemblies that have some deploymentson this component.
Parameters:
  targetName - name of the target for this operation xml string contain the list of service assembly infos
throws:
  JBIRemoteException - if error or exception occurs.



listServiceEngines
public String listServiceEngines(String targetName) throws JBIRemoteException(Code)
return component info xml text that has only service engine infos.
Parameters:
  targetName - name of the target for this operation the component info xml text.
throws:
  JBIRemoteException - on error



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 - name of the target for this operation xml text contain the list of service engine component infos
throws:
  JBIRemoteException - if error or exception occurs.



listServiceEngines
public Map<String /* targetName */, String listServiceEngines(String[] targetNames) throws JBIRemoteException(Code)
return component info xml text that has only service engine infos.
Parameters:
  targetName - name of the target for this operation the component info xml text.
throws:
  JBIRemoteException - on error



listServiceEngines
public Map<String /* targetName */, 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 - name of the target for this operation xml text contain the list of service engine component infos
throws:
  JBIRemoteException - if error or exception occurs.



listSharedLibraries
public String listSharedLibraries(String targetName) throws JBIRemoteException(Code)
return component info xml text that has only shared library infos.
Parameters:
  targetName - name of the target for this operation the component info xml text.
throws:
  JBIRemoteException - on error



listSharedLibraries
public String listSharedLibraries(String componentName, String targetName) throws JBIRemoteException(Code)
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. null for listing all the shared libraries in thesystem.
Parameters:
  targetName - name of the target for this operation xml string contain the list of componentinfos for sharedlibraries.
throws:
  JBIRemoteException - if error or exception occurs.



listSharedLibraries
public Map<String /* targetName */, String listSharedLibraries(String[] targetNames) throws JBIRemoteException(Code)
return component info xml text that has only shared library infos.
Parameters:
  targetName - name of the target for this operation the component info xml text.
throws:
  JBIRemoteException - on error



listSharedLibraries
public Map<String /* targetName */, String listSharedLibraries(String componentName, String[] targetNames) throws JBIRemoteException(Code)
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. null for listing all the shared libraries in thesystem.
Parameters:
  targetName - name of the target for this operation xml string contain the list of componentinfos for sharedlibraries.
throws:
  JBIRemoteException - if error or exception occurs.



listSharedLibraryDependents
public String listSharedLibraryDependents(String sharedLibraryName, String targetName) throws JBIRemoteException(Code)
returns a list of Binding Component and Service Engine infos in xml format, that are dependent upon a specified Shared Library
Parameters:
  sharedLibraryName - the shared library name
Parameters:
  targetName - name of the target for this operation xml string containing the list of componentInfos
throws:
  JBIRemoteException - on error



listSharedLibraryDependents
public Map<String /* targetName */, String listSharedLibraryDependents(String sharedLibraryName, String[] targetNames) throws JBIRemoteException(Code)
returns a list of Binding Component and Service Engine infos in xml format, that are dependent upon a specified Shared Library
Parameters:
  sharedLibraryName - the shared library name
Parameters:
  targetName - name of the target for this operation xml string containing the list of componentInfos
throws:
  JBIRemoteException - on error



queryApplicationConfigurationType
public javax.management.openmbean.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.



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.



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 ERROR task status message giving the details of the failure.
throws:
  JBIRemoteException - if there is a jmx error accessing the instance



setComponentConfiguration
public String setComponentConfiguration(String targetName, String componentName, Properties configurationValues) throws JBIRemoteException(Code)
Will return jbi mgmt message with success, failure, or partial success per instance. The entry per instance will have value as part of the management message (XML) String.
Parameters:
  targetName - the name of the JBI target
Parameters:
  componentName - the component name
Parameters:
  configurationValues - the configuration properties



setComponentLoggerLevel
public void setComponentLoggerLevel(String componentName, String loggerCustomName, Level logLevel, String targetName, String targetInstanceName) throws JBIRemoteException(Code)
Sets the component log level for a given custom logger
Parameters:
  componentName - name of the component
Parameters:
  loggerCustomName - the custom logger name
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



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:
  params - Properties object that contains name/value pairs correspondingto the configuration parameters to be set on the runtime.
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 - name of the target for this operation xml text contain the binding component info that confirms to thecomponent info list xml grammer.
throws:
  JBIRemoteException - if error or exception occurs.



showBindingComponent
public Map<String /* targetName */, 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 - name of the target for this operation xml text contain the binding component info that confirms to thecomponent info list xml grammer.
throws:
  JBIRemoteException - if error or exception occurs.



showServiceAssembly
public String showServiceAssembly(String name, String state, String componentName, String targetName) throws JBIRemoteException(Code)
return service assembly info xml text for the specified service assembly if exists. If no service assembly with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the service assembly to lookup
Parameters:
  state - return the service assembly that is in the specified state.JBIServiceAssemblyInfo.STARTED, STOPPED, SHUTDOWN or null forANY state
Parameters:
  componentName - return the service assembly that has service units on thiscomponent.
Parameters:
  targetName - name of the target for this operation xml string contain service assembly info that confirms to theservice assembly list xml grammer.
throws:
  JBIRemoteException - if error or exception occurs.



showServiceAssembly
public Map<String /* targetName */, String showServiceAssembly(String name, String state, String componentName, String[] targetNames) throws JBIRemoteException(Code)
return service assembly info xml text for the specified service assembly if exists. If no service assembly with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the service assembly to lookup
Parameters:
  state - return the service assembly that is in the specified state.JBIServiceAssemblyInfo.STARTED, STOPPED, SHUTDOWN or null forANY state
Parameters:
  componentName - return the service assembly that has service units on thiscomponent.
Parameters:
  targetName - name of the target for this operation xml string contain service assembly info that confirms to theservice assembly list xml grammer.
throws:
  JBIRemoteException - if error or exception occurs.



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 - name of the target for this operation xml text contain the service engine component info that confirmsto the component info list xml grammer.
throws:
  JBIRemoteException - if error or exception occurs.



showServiceEngine
public Map<String /* targetName */, 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 - name of the target for this operation xml text contain the service engine component info that confirmsto the component info list xml grammer.
throws:
  JBIRemoteException - if error or exception occurs.



showSharedLibrary
public String showSharedLibrary(String name, String componentName, String targetName) throws JBIRemoteException(Code)
return component info xml text for the specified shared library if exists. If no shared library with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the shared library to lookup
Parameters:
  componentName - return the shared library that is this component dependents.null to ignore this option.
Parameters:
  targetName - name of the target for this operation xml string contain shared library component info that confirms tothe component info list xml grammer.
throws:
  JBIRemoteException - if error or exception occurs.



showSharedLibrary
public Map<String /* targetName */, String showSharedLibrary(String name, String componentName, String[] targetNames) throws JBIRemoteException(Code)
return component info xml text for the specified shared library if exists. If no shared library with that name exists, it returns the xml with empty list.
Parameters:
  name - name of the shared library to lookup
Parameters:
  componentName - return the shared library that is this component dependents.null to ignore this option.
Parameters:
  targetName - name of the target for this operation xml string contain shared library component info that confirms tothe component info list xml grammer.
throws:
  JBIRemoteException - if error or exception occurs.



shutdownComponent
public String shutdownComponent(String componentName, String targetName) throws JBIRemoteException(Code)
shuts down component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



shutdownComponent
public String shutdownComponent(String componentName, boolean force, String targetName) throws JBIRemoteException(Code)
shuts down component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  force - true if component should be shutdown in any case, else false.
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



shutdownComponent
public Map<String /* targetName */, String shutdownComponent(String componentName, String[] targetNames) throws JBIRemoteException(Code)
shuts down component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



shutdownComponent
public Map<String /* targetName */, String shutdownComponent(String componentName, boolean force, String[] targetNames) throws JBIRemoteException(Code)
shuts down component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  force - true if component should be shutdown in any case, else false.
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



shutdownServiceAssembly
public String shutdownServiceAssembly(String serviceAssemblyName, String targetName) throws JBIRemoteException(Code)
shuts down service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
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 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, String[] targetNames) throws JBIRemoteException(Code)
shuts down service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
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



startComponent
public String startComponent(String componentName, String targetName) throws JBIRemoteException(Code)
starts component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



startComponent
public Map<String /* targetName */, String startComponent(String componentName, String[] targetNames) throws JBIRemoteException(Code)
starts component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



startServiceAssembly
public String startServiceAssembly(String serviceAssemblyName, String targetName) throws JBIRemoteException(Code)
starts service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  targetName - name of the target for this operation Map of targetName and result as a management message xml textstrings.
throws:
  JBIRemoteException - on error



startServiceAssembly
public Map<String /* targetName */, String startServiceAssembly(String serviceAssemblyName, String[] targetNames) throws JBIRemoteException(Code)
starts service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  targetName - name of the target for this operation Map of targetName and result as a management message xml textstrings.
throws:
  JBIRemoteException - on error



stopComponent
public String stopComponent(String componentName, String targetName) throws JBIRemoteException(Code)
stops component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



stopComponent
public Map<String /* targetName */, String stopComponent(String componentName, String[] targetNames) throws JBIRemoteException(Code)
stops component ( service engine, binding component)
Parameters:
  componentName - name of the component
Parameters:
  targetName - name of the target for this operation Map of targetName and component name strings.
throws:
  JBIRemoteException - on error



stopServiceAssembly
public String stopServiceAssembly(String serviceAssemblyName, String targetName) throws JBIRemoteException(Code)
stops service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  targetName - name of the target for this operation Map of targetName and result as a management message xml textstrings.
throws:
  JBIRemoteException - on error



stopServiceAssembly
public Map<String /* targetName */, String stopServiceAssembly(String serviceAssemblyName, String[] targetNames) throws JBIRemoteException(Code)
stops service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
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, String targetName) throws JBIRemoteException(Code)
undeploys service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
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, String[] targetNames) throws JBIRemoteException(Code)
undeploys service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
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, String targetName) throws JBIRemoteException(Code)
uninstalls component ( service engine, binding component)
Parameters:
  componentName - name of the component
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, String[] targetNames) throws JBIRemoteException(Code)
uninstalls component ( service engine, binding component)
Parameters:
  componentName - name of the component
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, 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



uninstallSharedLibrary
public String uninstallSharedLibrary(String sharedLibraryName, String targetName) throws JBIRemoteException(Code)
uninstalls shared library
Parameters:
  sharedLibraryName - name of the shared library
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, String[] targetNames) throws JBIRemoteException(Code)
uninstalls shared library
Parameters:
  sharedLibraryName - name of the shared library
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, 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



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



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.