Java Doc for Updater.java in  » ESB » open-esb » com » sun » jbi » management » registry » 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.management.registry 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.jbi.management.registry.Updater

All known Subclasses:   com.sun.jbi.management.registry.xml.UpdaterImpl,  com.sun.jbi.framework.ScaffoldRegistry,
Updater
public interface Updater (Code)
This interface defines operations which clients can use to update the registry.
author:
   Sun Microsystems, Inc.




Method Summary
 voidaddCluster(String clusterNameRef)
    
 voidaddComponent(ComponentInfo componentInfo)
    
 voidaddComponent(String targetName, ComponentInfo componentInfo)
     Add a component to a given target.
 voidaddComponent(String componentName, String fileName, Calendar timestamp)
    
 voidaddComponentApplicationConfiguration(String componentName, Properties appConfig)
     Add a named application configuration to the registry for the component for the implicit runtime target.
 voidaddComponentApplicationConfiguration(String componentName, String targetName, Properties appConfig)
     Add a named application configuration to the registry for the component for the specified runtime target.
 voidaddComponentApplicationVariables(String componentName, com.sun.jbi.management.ComponentInfo.Variable[] appVars)
     Add a set of application variables to the registry for the runtime target.
 voidaddComponentApplicationVariables(String componentName, String targetName, com.sun.jbi.management.ComponentInfo.Variable[] appVars)
     Add a set of application variables to the registry for the specified target.
 voidaddServer(String serverNameRef)
    
 voidaddServiceAssembly(String saName)
    
 voidaddServiceAssembly(String targetName, String saName)
     Add a service assembly to a given target.
public  voidaddServiceAssembly(String saName, String fileName, Calendar timestamp)
     Add a service assembly to the domain.
 voidaddServiceUnitToComponent(String componentName, ServiceUnitInfo suInfo)
    
 voidaddServiceUnitToComponent(String targetName, String componentName, ServiceUnitInfo suInfo)
    
 voidaddSharedLibrary(ComponentInfo sharedLibraryInfo)
    
 voidaddSharedLibrary(String targetName, ComponentInfo sharedLibraryInfo)
     Add a shared library to a given target.
 voidaddSharedLibrary(String slName, String fileName, Calendar timestamp)
    
 voiddeleteAttribute(ConfigurationCategory type, String name)
     Delete the named attribute from the category if it exists, for the implicit target.
 voiddeleteAttribute(String targetName, ConfigurationCategory type, String name)
     Delete the named attribute from the category if it exists.
 voiddeleteComponentApplicationConfiguration(String componentName, String appConfigName)
    
 voiddeleteComponentApplicationConfiguration(String componentName, String targetName, String appConfigName)
    
 voiddeleteComponentApplicationVariables(String componentName, String[] names)
     Delete a set of application variables from the registry for the runtime target.
 voiddeleteComponentApplicationVariables(String componentName, String targetName, String[] names)
     Add a set of application variables to the registry for the specified target.
 voidremoveCluster(String clusterNameRef)
    
 voidremoveComponent(String componentName)
    
 voidremoveComponent(String targetName, String componentName)
     Remove a component from a given target.
 voidremoveServer(String serverNameRef)
    
 voidremoveServiceAssembly(String serviceAssemblyName)
     Remove a service assembly from a given target.
 voidremoveServiceAssembly(String targetName, String serviceAssemblyName)
     Remove a service assembly from a given target.
 voidremoveServiceUnitFromComponent(String componentName, String suName)
    
 voidremoveServiceUnitFromComponent(String targetName, String componentName, String suName)
    
 voidremoveSharedLibrary(String sharedLibraryName)
    
 voidremoveSharedLibrary(String targetName, String sharedLibraryName)
     Remove a shared library from a given target.
 voidsetAttribute(ConfigurationCategory type, String name, String value)
     Set the value of a configuration attribute belonging to the specified category, for the runtime target.
 voidsetAttribute(String targetName, ConfigurationCategory type, String name, String value)
     Get the value of a configuration attribute belonging to the specified category, for the runtime target.
 voidsetComponentAttribute(String componentName, String name, String value)
     Set the value of a configuration attribute for a component installed on a target for the runtime target.
 voidsetComponentAttribute(String componentName, String targetName, String name, String value)
    
 voidsetComponentAttributes(String componentName, Properties props)
     Set the value of a configuration attribute for a component installed on a target for the runtime target.
 voidsetComponentAttributes(String componentName, String targetName, Properties props)
    
 voidsetComponentFileName(String fileName, String componentName)
     Set the file name for the domain component.
 voidsetComponentProperties(String targetName, Map<String, String> state, String componentName)
     Set the properties of a component in a server/cluster.
Parameters:
  targetName - - either the server-name or cluster-name, this operation is a no-op when target = domain.
Parameters:
  componentName - - component name
Parameters:
  props - - the properties to set.
 voidsetComponentState(ComponentState state, String componentName)
     Set the state of a component for the target at runtime.
Parameters:
  componentName - - component name
Parameters:
  state - - the state to set.
 voidsetComponentState(String targetName, ComponentState state, String componentName)
     Set the state of a component in a server/cluster.
Parameters:
  targetName - - either the server-name or cluster-name
Parameters:
  componentName - - component name
Parameters:
  state - - the state to set.
 voidsetComponentUpgradeNumber(String componentName, java.math.BigInteger upgradeNumber)
    
 voidsetServiceAssemblyFileName(String fileName, String saName)
     Set the file name for the domain service assembly.
 voidsetServiceAssemblyState(ServiceAssemblyState state, String saName)
     Set the state of a ServiceAssembly for the runtime target.
 voidsetServiceAssemblyState(String targetName, ServiceAssemblyState state, String saName)
     Set the state of a ServiceAssembly in a server / cluster.
 voidsetServiceUnitState(ServiceUnitState state, String componentName, String suName)
     Set the state of a ServiceUnit for the runtime target.
Parameters:
  componentName - - component name
Parameters:
  suName - - service unit name
Parameters:
  state - - the state to set.
 voidsetServiceUnitState(String targetName, ServiceUnitState state, String componentName, String suName)
     Set the state of a ServiceUnit in a server / cluster.
Parameters:
  targetName - - either the value 'domain', 'server' or theserver-name or cluster-name.
Parameters:
  componentName - - component name
Parameters:
  suName - - service unit name
Parameters:
  state - - the state to set.
 voidsetSharedLibraryFileName(String fileName, String slName)
     Set the file name for the domain shared library.
 voidupdateComponentApplicationConfiguration(String componentName, Properties appConfig)
     Update a named application configuration set on a component for the implicit runtime target.
 voidupdateComponentApplicationConfiguration(String componentName, String targetName, Properties appConfig)
     Update a named application configuration set on a component for the specified runtime target.
 voidupdateComponentApplicationVariables(String componentName, com.sun.jbi.management.ComponentInfo.Variable[] appVars)
     Update a set of application variables to the registry for the runtime target.
 voidupdateComponentApplicationVariables(String componentName, String targetName, com.sun.jbi.management.ComponentInfo.Variable[] appVars)
     Updated a set of application variables to the registry for the specified target.



Method Detail
addCluster
void addCluster(String clusterNameRef) throws RegistryException(Code)

Parameters:
  clusterNameRef - - cluster name to be added



addComponent
void addComponent(ComponentInfo componentInfo) throws RegistryException(Code)
Add a component to the runtime target
Parameters:
  componentInfo - - component instance
throws:
  RegistryException - on errors



addComponent
void addComponent(String targetName, ComponentInfo componentInfo) throws RegistryException(Code)
Add a component to a given target. If target = DOMAIN, then a simple component entry is created with the component name. If the target = SERVER / CLUSTER a component-ref is added.
Parameters:
  targetName - - {'domain', 'server', "instance-name", "cluster-name"}not considered when targetType = DOMAIN.
Parameters:
  componentInfo - - component instance
throws:
  RegistryException - on errors



addComponent
void addComponent(String componentName, String fileName, Calendar timestamp) throws RegistryException(Code)
Add a domain component
Parameters:
  componentName - - name of the component
Parameters:
  fileName - - component file name



addComponentApplicationConfiguration
void addComponentApplicationConfiguration(String componentName, Properties appConfig) throws RegistryException(Code)
Add a named application configuration to the registry for the component for the implicit runtime target.
Parameters:
  componentName - component identification
Parameters:
  appConfig - named application configuration represented as properties
exception:
  RegistryException - on errors in adding the application configuration.



addComponentApplicationConfiguration
void addComponentApplicationConfiguration(String componentName, String targetName, Properties appConfig) throws RegistryException(Code)
Add a named application configuration to the registry for the component for the specified runtime target.
Parameters:
  componentName - component identification
Parameters:
  appConfig - named application configuration represented as properties
Parameters:
  targetName - target name
exception:
  RegistryException - on errors in adding the application configuration.



addComponentApplicationVariables
void addComponentApplicationVariables(String componentName, com.sun.jbi.management.ComponentInfo.Variable[] appVars) throws RegistryException(Code)
Add a set of application variables to the registry for the runtime target.
Parameters:
  appVars - - list of application variables to be added to the registry
exception:
  RegistryException - on errors in adding the application variables.



addComponentApplicationVariables
void addComponentApplicationVariables(String componentName, String targetName, com.sun.jbi.management.ComponentInfo.Variable[] appVars) throws RegistryException(Code)
Add a set of application variables to the registry for the specified target.
Parameters:
  appVars - - list of application variables to be added to the registry
Parameters:
  targetName - - target to be updated
exception:
  RegistryException - on errors in adding the application variables.



addServer
void addServer(String serverNameRef) throws RegistryException(Code)

Parameters:
  serverNameRef - - server name to be added



addServiceAssembly
void addServiceAssembly(String saName) throws RegistryException(Code)
Add a service assembly to he runtime's target
Parameters:
  saName - - service assembly name
throws:
  RegistryException - on errors



addServiceAssembly
void addServiceAssembly(String targetName, String saName) throws RegistryException(Code)
Add a service assembly to a given target. If target = DOMAIN, then a simple entry is created with the assembly name. If the target = SERVER / CLUSTER a service-assembly-ref is added.
Parameters:
  targetName - - {'domain', 'server', "instance-name", "cluster-name"}
Parameters:
  saName - - service assembly name
throws:
  RegistryException - on errors



addServiceAssembly
public void addServiceAssembly(String saName, String fileName, Calendar timestamp) throws RegistryException(Code)
Add a service assembly to the domain.
Parameters:
  saName - - service assembly name
Parameters:
  fileName - - service assembly archive name
throws:
  RegistryException - on errors



addServiceUnitToComponent
void addServiceUnitToComponent(String componentName, ServiceUnitInfo suInfo) throws RegistryException(Code)
Add a ServiceUnit to a Component for the runtime target
Parameters:
  suInfo - - ServiceUnitInfo
Parameters:
  componentName - - component name
throws:
  RegistryException - on errors



addServiceUnitToComponent
void addServiceUnitToComponent(String targetName, String componentName, ServiceUnitInfo suInfo) throws RegistryException(Code)
Add a ServiceUnit to a Component
Parameters:
  suInfo - - ServiceUnitInfo
Parameters:
  targetName - - either the value 'domain', 'server' or theserver-name or cluster-name.
Parameters:
  componentName - - component name
throws:
  RegistryException - on errors



addSharedLibrary
void addSharedLibrary(ComponentInfo sharedLibraryInfo) throws RegistryException(Code)
Add a shared library to he runtime's target
Parameters:
  ComponentInfo - - shared library info
throws:
  RegistryException - on errors



addSharedLibrary
void addSharedLibrary(String targetName, ComponentInfo sharedLibraryInfo) throws RegistryException(Code)
Add a shared library to a given target. If target = DOMAIN, then a simple entry is created with the library name. If the target = SERVER / CLUSTER a shared-library-ref is added.
Parameters:
  targetName - - {'domain', 'server', "instance-name", "cluster-name"}
Parameters:
  ComponentInfo - - shared library info
throws:
  RegistryException - on errors



addSharedLibrary
void addSharedLibrary(String slName, String fileName, Calendar timestamp) throws RegistryException(Code)
Add a domain shared library
Parameters:
  slName - - name of the shared library
Parameters:
  fileName - - component file name



deleteAttribute
void deleteAttribute(ConfigurationCategory type, String name) throws RegistryException(Code)
Delete the named attribute from the category if it exists, for the implicit target. The attribute is deleted only if it is overriden for the target, if target is "domain" the attribute is not deleted.
Parameters:
  type - - configuration category
Parameters:
  name - - identification for the attribute
exception:
  RegistryException - on errors in getting the attribute value



deleteAttribute
void deleteAttribute(String targetName, ConfigurationCategory type, String name) throws RegistryException(Code)
Delete the named attribute from the category if it exists. The attribute is deleted only if it is overriden for the target, if target is "domain" the attribute is not deleted.
Parameters:
  targetName - - target instance/cluster name.
Parameters:
  type - - configuration category
Parameters:
  name - - identification for the attribute
exception:
  RegistryException - on errors in getting the attribute value



deleteComponentApplicationConfiguration
void deleteComponentApplicationConfiguration(String componentName, String appConfigName) throws RegistryException(Code)
Delete a named application configuration
Parameters:
  appConfigName - name of the application configuration to delete.
Parameters:
  componentName - component identification
exception:
  RegistryException - on errors in deleting the application configuration.



deleteComponentApplicationConfiguration
void deleteComponentApplicationConfiguration(String componentName, String targetName, String appConfigName) throws RegistryException(Code)
Delete a named application configuration
Parameters:
  componentName - component identification
Parameters:
  targetName - target name
Parameters:
  appConfigName - the name of the configuration to be deleted.
exception:
  RegistryException - on errors in deleting the application configuration.



deleteComponentApplicationVariables
void deleteComponentApplicationVariables(String componentName, String[] names) throws RegistryException(Code)
Delete a set of application variables from the registry for the runtime target.
Parameters:
  appVars - - list of application variables to be deleted from the registry
Parameters:
  names - - the names of the variables to be deleted.
exception:
  RegistryException - on errors in deleting the application variables.



deleteComponentApplicationVariables
void deleteComponentApplicationVariables(String componentName, String targetName, String[] names) throws RegistryException(Code)
Add a set of application variables to the registry for the specified target.
Parameters:
  appVars - - list of application variables to be deleted from the registry
Parameters:
  targetName - - target to be updated
Parameters:
  names - - the names of the variables to be deleted.
exception:
  RegistryException - on errors in deleting the application variables.



removeCluster
void removeCluster(String clusterNameRef) throws RegistryException(Code)

Parameters:
  clusterNameRef - - cluster name to be removed



removeComponent
void removeComponent(String componentName) throws RegistryException(Code)
Remove a component from the runtime's target
Parameters:
  componentName - - component name
throws:
  RegistryException - on errors



removeComponent
void removeComponent(String targetName, String componentName) throws RegistryException(Code)
Remove a component from a given target.
Parameters:
  targetName - - {'domain', 'server', "instance-name", "cluster-name"}
Parameters:
  componentName - - component name
throws:
  RegistryException - on errors



removeServer
void removeServer(String serverNameRef) throws RegistryException(Code)

Parameters:
  serverNameRef - - server name to be removed



removeServiceAssembly
void removeServiceAssembly(String serviceAssemblyName) throws RegistryException(Code)
Remove a service assembly from a given target.
Parameters:
  serviceAssemblyName - - service assembly name
throws:
  RegistryException - on errors



removeServiceAssembly
void removeServiceAssembly(String targetName, String serviceAssemblyName) throws RegistryException(Code)
Remove a service assembly from a given target.
Parameters:
  serviceAssemblyName - - service assembly name
Parameters:
  targetName - - {'domain', 'server', "instance-name", "cluster-name"}
throws:
  RegistryException - on errors



removeServiceUnitFromComponent
void removeServiceUnitFromComponent(String componentName, String suName) throws RegistryException(Code)
Remove a ServiceUnit from a Component for the runtime target
Parameters:
  suName - - ServiceUnitInfo name
Parameters:
  componentName - - component name
throws:
  RegistryException - on errors



removeServiceUnitFromComponent
void removeServiceUnitFromComponent(String targetName, String componentName, String suName) throws RegistryException(Code)
Remove a ServiceUnit from a Component
Parameters:
  suName - - ServiceUnitInfo name
Parameters:
  targetName - - the server-name or cluster-name.
Parameters:
  componentName - - component name
throws:
  RegistryException - on errors



removeSharedLibrary
void removeSharedLibrary(String sharedLibraryName) throws RegistryException(Code)
Remove a shared library from the runtimes target
Parameters:
  sharedLibraryName - - shared library name
throws:
  RegistryException - on errors



removeSharedLibrary
void removeSharedLibrary(String targetName, String sharedLibraryName) throws RegistryException(Code)
Remove a shared library from a given target.
Parameters:
  targetName - - {'domain', 'server', "instance-name", "cluster-name"}
Parameters:
  sharedLibraryName - - shared library name
throws:
  RegistryException - on errors



setAttribute
void setAttribute(ConfigurationCategory type, String name, String value) throws RegistryException(Code)
Set the value of a configuration attribute belonging to the specified category, for the runtime target.
Parameters:
  type - - configuration category
Parameters:
  name - - identification for the attribute
Parameters:
  value - - string representation of the attribute value
exception:
  RegistryException - on errors in getting the attribute value



setAttribute
void setAttribute(String targetName, ConfigurationCategory type, String name, String value) throws RegistryException(Code)
Get the value of a configuration attribute belonging to the specified category, for the runtime target.
Parameters:
  targetName - - target instance/cluster name.
Parameters:
  type - - configuration category
Parameters:
  name - - identification for the attribute
Parameters:
  value - - string representation of the attribute value
exception:
  RegistryException - on errors in getting the attribute value



setComponentAttribute
void setComponentAttribute(String componentName, String name, String value) throws RegistryException(Code)
Set the value of a configuration attribute for a component installed on a target for the runtime target.
Parameters:
  name - - identification for the attribute
Parameters:
  value - - string representation of the attribute value
Parameters:
  componentName - - identification for the component
exception:
  RegistryException - on errors in setting the attribute value



setComponentAttribute
void setComponentAttribute(String componentName, String targetName, String name, String value) throws RegistryException(Code)
Set the value of a configuration attribute for a component installed on a target,
Parameters:
  targetName - - target instance/cluster name.
Parameters:
  name - - identification for the attribute
Parameters:
  value - - string representation of the attribute value
Parameters:
  componentName - - identification for the component
exception:
  RegistryException - on errors in setting the attribute value



setComponentAttributes
void setComponentAttributes(String componentName, Properties props) throws RegistryException(Code)
Set the value of a configuration attribute for a component installed on a target for the runtime target.
Parameters:
  props - - properties to set
Parameters:
  componentName - - identification for the component
exception:
  RegistryException - on errors in setting the attribute value



setComponentAttributes
void setComponentAttributes(String componentName, String targetName, Properties props) throws RegistryException(Code)
Set the value of a configuration attribute for a component installed on a target,
Parameters:
  targetName - - target instance/cluster name.
Parameters:
  props - - properties to set
Parameters:
  componentName - - identification for the component
exception:
  RegistryException - on errors in setting the attribute value



setComponentFileName
void setComponentFileName(String fileName, String componentName) throws RegistryException(Code)
Set the file name for the domain component.
Parameters:
  fileName - - name of the component archive
Parameters:
  componentName - - component name



setComponentProperties
void setComponentProperties(String targetName, Map<String, String> state, String componentName) throws RegistryException(Code)
Set the properties of a component in a server/cluster.
Parameters:
  targetName - - either the server-name or cluster-name, this operation is a no-op when target = domain.
Parameters:
  componentName - - component name
Parameters:
  props - - the properties to set.
throws:
  RegistryException - on errors



setComponentState
void setComponentState(ComponentState state, String componentName) throws RegistryException(Code)
Set the state of a component for the target at runtime.
Parameters:
  componentName - - component name
Parameters:
  state - - the state to set.
throws:
  RegistryException - on errors



setComponentState
void setComponentState(String targetName, ComponentState state, String componentName) throws RegistryException(Code)
Set the state of a component in a server/cluster.
Parameters:
  targetName - - either the server-name or cluster-name
Parameters:
  componentName - - component name
Parameters:
  state - - the state to set.
throws:
  RegistryException - on errors



setComponentUpgradeNumber
void setComponentUpgradeNumber(String componentName, java.math.BigInteger upgradeNumber) throws RegistryException(Code)
This method is used to set the upgrade-number attribute in the domain level entry for a component
Parameters:
  componentName - the component name
Parameters:
  upgradeNumber - the upgrade number
throws:
  RegistryException - if the upgrade number could not be set



setServiceAssemblyFileName
void setServiceAssemblyFileName(String fileName, String saName) throws RegistryException(Code)
Set the file name for the domain service assembly.
Parameters:
  fileName - - name of the service assembly archive
Parameters:
  saName - - service assembly name



setServiceAssemblyState
void setServiceAssemblyState(ServiceAssemblyState state, String saName) throws RegistryException(Code)
Set the state of a ServiceAssembly for the runtime target.
Parameters:
  state - - the state to set.
Parameters:
  saName - - the service assembly name
throws:
  RegistryException - on errors



setServiceAssemblyState
void setServiceAssemblyState(String targetName, ServiceAssemblyState state, String saName) throws RegistryException(Code)
Set the state of a ServiceAssembly in a server / cluster.
Parameters:
  targetName - - either the value 'domain', 'server' or theserver-name or cluster-name.
Parameters:
  saName - - service assembly name
Parameters:
  state - - the state to set.
throws:
  RegistryException - on errors



setServiceUnitState
void setServiceUnitState(ServiceUnitState state, String componentName, String suName) throws RegistryException(Code)
Set the state of a ServiceUnit for the runtime target.
Parameters:
  componentName - - component name
Parameters:
  suName - - service unit name
Parameters:
  state - - the state to set.
throws:
  RegistryException - on errors



setServiceUnitState
void setServiceUnitState(String targetName, ServiceUnitState state, String componentName, String suName) throws RegistryException(Code)
Set the state of a ServiceUnit in a server / cluster.
Parameters:
  targetName - - either the value 'domain', 'server' or theserver-name or cluster-name.
Parameters:
  componentName - - component name
Parameters:
  suName - - service unit name
Parameters:
  state - - the state to set.
throws:
  RegistryException - on errors



setSharedLibraryFileName
void setSharedLibraryFileName(String fileName, String slName) throws RegistryException(Code)
Set the file name for the domain shared library.
Parameters:
  fileName - - name of the shared library archive
Parameters:
  slName - - shared library name



updateComponentApplicationConfiguration
void updateComponentApplicationConfiguration(String componentName, Properties appConfig) throws RegistryException(Code)
Update a named application configuration set on a component for the implicit runtime target.
Parameters:
  componentName - component identification
Parameters:
  appConfig - named application configuration represented as properties
exception:
  RegistryException - on errors in updating the application configuration.



updateComponentApplicationConfiguration
void updateComponentApplicationConfiguration(String componentName, String targetName, Properties appConfig) throws RegistryException(Code)
Update a named application configuration set on a component for the specified runtime target.
Parameters:
  componentName - component identification
Parameters:
  appConfig - named application configuration represented as properties
Parameters:
  targetName - target name
exception:
  RegistryException - on errors in updating the application configuration.



updateComponentApplicationVariables
void updateComponentApplicationVariables(String componentName, com.sun.jbi.management.ComponentInfo.Variable[] appVars) throws RegistryException(Code)
Update a set of application variables to the registry for the runtime target.
Parameters:
  appVars - - list of application variables to be updated
exception:
  RegistryException - on errors in updating the application variables.



updateComponentApplicationVariables
void updateComponentApplicationVariables(String componentName, String targetName, com.sun.jbi.management.ComponentInfo.Variable[] appVars) throws RegistryException(Code)
Updated a set of application variables to the registry for the specified target.
Parameters:
  appVars - - list of application variables to be updated
Parameters:
  targetName - - target to be updated
exception:
  RegistryException - on errors in updating the application variables.



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