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


java.lang.Object
   com.sun.jbi.management.registry.xml.UpdaterImpl

UpdaterImpl
public class UpdaterImpl implements com.sun.jbi.management.registry.Updater(Code)
This class encapsulates queries which are common to all targets ( domain / server / cluster ).
author:
   Sun Microsystems, Inc.



Constructor Summary
public  UpdaterImpl(Jbi jbi, ManagementContext mgtCtx, boolean validate, RegistryImpl registry)
    

Method Summary
public  voidaddCluster(String clusterNameRef)
    
public  voidaddComponent(ComponentInfo componentInfo)
    
public  voidaddComponent(String componentName, String fileName, Calendar timestamp)
    
public  voidaddComponent(String targetName, ComponentInfo componentInfo)
     Add a component to a given target.
public  voidaddComponentApplicationConfiguration(String componentName, Properties appConfig)
     Add a named application configuration to the registry for the component for the implicit runtime target.
public  voidaddComponentApplicationConfiguration(String componentName, String targetName, Properties appConfig)
     Add a named application configuration to the registry for the component for the specified runtime target.
public  voidaddComponentApplicationVariables(String componentName, com.sun.jbi.management.ComponentInfo.Variable[] appVars)
     Add a set of application variables to the registry for the runtime target.
public  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.
public  voidaddServer(String serverNameRef)
    
public  voidaddServiceAssembly(String saName)
    
public  voidaddServiceAssembly(String saName, String fileName, Calendar timestamp)
     Add a service assembly to the domain.
public  voidaddServiceAssembly(String targetName, String saName)
     Add a service assembly to a given target.
public  voidaddServiceUnitToComponent(String componentName, ServiceUnitInfo suInfo)
    
public  voidaddServiceUnitToComponent(String targetName, String componentName, ServiceUnitInfo suInfo)
    
public  voidaddSharedLibrary(ComponentInfo sharedLibraryInfo)
    
public  voidaddSharedLibrary(String slName, String fileName, Calendar timestamp)
    
public  voidaddSharedLibrary(String targetName, ComponentInfo sharedLibraryInfo)
     Add a shared library to a given target.
 booleancheckContainsProperty(List<PropertyType> propList, String name, String value)
    
public  voidcorrectTimestamps()
     This method is used to correct timestamps on system components on the DAS if they are not already set.
public  voiddeleteAttribute(ConfigurationCategory type, String name)
     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.
public  voiddeleteAttribute(String targetName, ConfigurationCategory type, String name)
     Delete the named attribute from the category if it exists.
public  voiddeleteComponentApplicationConfiguration(String componentName, String appConfigName)
    
public  voiddeleteComponentApplicationConfiguration(String componentName, String targetName, String appConfigName)
    
public  voiddeleteComponentApplicationVariables(String componentName, String[] names)
     Delete a set of application variables from the registry for the runtime target.
public  voiddeleteComponentApplicationVariables(String componentName, String targetName, String[] names)
     Add a set of application variables to the registry for the specified target.
public  voidremoveCluster(String clusterNameRef)
    
public  voidremoveComponent(String componentName)
    
public  voidremoveComponent(String targetName, String componentName)
     Remove a component from a given target.
public  voidremoveServer(String serverNameRef)
    
public  voidremoveServiceAssembly(String saName)
    
public  voidremoveServiceAssembly(String targetName, String saName)
     Remove a service assembly from a given target.
public  voidremoveServiceUnitFromComponent(String componentName, String suName)
    
public  voidremoveServiceUnitFromComponent(String targetName, String componentName, String suName)
    
public  voidremoveSharedLibrary(String sharedLibraryName)
    
public  voidremoveSharedLibrary(String targetName, String sharedLibraryName)
     Remove a shared library from a given target.
public  voidsetAttribute(ConfigurationCategory type, String name, String value)
     Set the value of a configuration attribute belonging to the specified category, for the runtime target.
public  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.
public  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.
public  voidsetComponentAttribute(String componentName, String targetName, String name, String value)
    
public  voidsetComponentAttributes(String componentName, Properties props)
     Set the value of a configuration attribute for a component installed on a target for the runtime target.
public  voidsetComponentAttributes(String componentName, String targetName, Properties props)
    
public  voidsetComponentFileName(String fileName, String componentName)
     Set the file name for the domain component.
public  voidsetComponentProperties(String targetName, Map<String, String> props, 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.
public  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.
public  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.
public  voidsetComponentUpgradeNumber(String componentName, java.math.BigInteger upgradeNumber)
    
public  voidsetServiceAssemblyFileName(String fileName, String saName)
    
public  voidsetServiceAssemblyState(ServiceAssemblyState state, String saName)
     Set the state of a ServiceAssembly for the runtime target.
public  voidsetServiceAssemblyState(String targetName, ServiceAssemblyState state, String saName)
     Set the state of a ServiceAssembly in a server / cluster.
public  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.
public  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.
public  voidsetSharedLibraryFileName(String fileName, String slName)
     Set the file name for the domain service assembly.
public  voidupdateComponentApplicationConfiguration(String componentName, Properties appConfig)
     Update a named application configuration set on a component for the implicit runtime target.
public  voidupdateComponentApplicationConfiguration(String componentName, String targetName, Properties appConfig)
     Update a named application configuration set on a component for the specified runtime target.
public  voidupdateComponentApplicationVariables(String componentName, com.sun.jbi.management.ComponentInfo.Variable[] appVars)
     Update a set of application variables to the registry for the runtime target.
public  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.


Constructor Detail
UpdaterImpl
public UpdaterImpl(Jbi jbi, ManagementContext mgtCtx, boolean validate, RegistryImpl registry) throws RegistryException(Code)




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

Parameters:
  clusterNameRef - - cluster name to be added



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



addComponent
public 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



addComponent
public 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



addComponentApplicationConfiguration
public 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
public 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
public 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
public 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
public void addServer(String serverNameRef) throws RegistryException(Code)

Parameters:
  serverNameRef - - server name to be added



addServiceAssembly
public void addServiceAssembly(String saName) throws RegistryException(Code)
Add a service assembly to the runtime's target
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



addServiceAssembly
public 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



addServiceUnitToComponent
public 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
public 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
public 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
public 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



addSharedLibrary
public 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



checkContainsProperty
boolean checkContainsProperty(List<PropertyType> propList, String name, String value)(Code)
true if the PropertyList contains a given property name value pair.



correctTimestamps
public void correctTimestamps() throws RegistryException(Code)
This method is used to correct timestamps on system components on the DAS if they are not already set. Typically this only happens the first time an installation starts after install or upgrade.



deleteAttribute
public 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
public 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
public 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
public 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
public 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
public 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
public void removeCluster(String clusterNameRef) throws RegistryException(Code)

Parameters:
  clusterNameRef - - cluster name to be removed



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



removeComponent
public 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
public void removeServer(String serverNameRef) throws RegistryException(Code)

Parameters:
  serverNameRef - - server name to be removed



removeServiceAssembly
public void removeServiceAssembly(String saName) throws RegistryException(Code)
Remove a service assembly from the runtime target
Parameters:
  saName - - service assembly name
throws:
  RegistryException - on errors



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



removeServiceUnitFromComponent
public 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
public 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
public 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
public 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
public 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
public 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
public 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 getting the attribute value



setComponentAttribute
public 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 getting the attribute value



setComponentAttributes
public 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:
  name - - identification for the attribute
Parameters:
  value - - string representation of the attribute value
Parameters:
  componentName - - identification for the component
exception:
  RegistryException - on errors in getting the attribute value



setComponentAttributes
public 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:
  properties - - the properties to set
Parameters:
  componentName - - identification for the component
exception:
  RegistryException - on errors in getting the attribute value



setComponentFileName
public void setComponentFileName(String fileName, String componentName) throws RegistryException(Code)
Set the file name for the domain component.



setComponentProperties
public void setComponentProperties(String targetName, Map<String, String> props, 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
public 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
public 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
public 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 update number
throws:
  RegistryException - if the update number could not be set



setServiceAssemblyFileName
public void setServiceAssemblyFileName(String fileName, String saName) throws RegistryException(Code)
Set the file name for the domain service assembly



setServiceAssemblyState
public 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
public 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
public 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
public 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
public void setSharedLibraryFileName(String fileName, String slName) throws RegistryException(Code)
Set the file name for the domain service assembly.



updateComponentApplicationConfiguration
public 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
public 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
public 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
public 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.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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