Java Doc for GenericQuery.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.GenericQuery

All known Subclasses:   com.sun.jbi.management.registry.xml.GenericQueryImpl,
GenericQuery
public interface GenericQuery (Code)
This interface encapsulates queries which are common to all targets ( domain / server / cluster ).
author:
   Sun Microsystems, Inc.




Method Summary
 StringgetAttribute(ConfigurationCategory type, String name)
     Get the value of a configuration attribute belonging to the specified category, for the runtime target.
 StringgetAttribute(String targetName, ConfigurationCategory type, String name)
     Get the value of a configuration attribute belonging to the specified category, for the specified target.
 List<String>getClusters()
    
 List<String>getClustersDeployingServiceAssembly(String serviceAssemblyName)
    
 List<String>getClustersInstallingComponent(String componentName)
    
 List<String>getClustersInstallingSharedLibrary(String sharedLibraryName)
    
 StringgetComponentArchive(String componentName)
    
 ComponentDescriptorgetComponentDescriptor(String componentName)
    
 StringgetComponentFileName(String componentName)
     Get the file name for the domain component.
 StringgetComponentInstallationDescriptor(String componentName)
    
 longgetComponentTimestamp(String componentName)
     Get the timestamp for the domain component.
 ComponentTypegetComponentType(String componentName)
    
public  BigIntegergetComponentUpgradeNumber(String componentName)
    
 List<String>getRegisteredComponents()
    
 List<String>getRegisteredServiceAssemblies()
    
 List<String>getRegisteredSharedLibraries()
    
 List<String>getServers()
    
 List<String>getServersDeployingServiceAssembly(String serviceAssemblyName)
    
 List<String>getServersInstallingComponent(String componentName)
    
 List<String>getServersInstallingSharedLibrary(String sharedLibraryName)
    
 StringgetServiceAssemblyArchive(String serviceAssemblyName)
    
 StringgetServiceAssemblyDeploymentDescriptor(String serviceAssemblyName)
    
 StringgetServiceAssemblyFileName(String saName)
     Get the file name for the domain service assembly.
 longgetServiceAssemblyTimestamp(String saName)
     Get the timestamp for the domain service assembly.
 StringgetServiceUnitDeploymentDescriptor(String serviceAssemblyName, String serviceUnitName)
    
 StringgetSharedLibraryArchive(String sharedLibraryName)
    
 StringgetSharedLibraryFileName(String slName)
     Get the file name for the domain shared library.
 StringgetSharedLibraryInstallationDescriptor(String sharedLibraryName)
    
 longgetSharedLibraryTimestamp(String slName)
     Get the timestamp for the domain shared library.
public  booleanisAttributeOverriden(String targetName, ConfigurationCategory type, String name)
     Determine if a configuration attribute is overriden by a target.
 booleanisComponentInstalled(String componentName)
    
 booleanisComponentRegistered(String componentName)
    
 booleanisGlobalConfigurationDefined()
    
 booleanisServiceAssemblyDeployed(String serviceAssemblyName)
    
 booleanisServiceAssemblyRegistered(String serviceAssemblyName)
    
 booleanisSharedLibraryInstalled(String sharedLibraryName)
    
 booleanisSharedLibraryRegistered(String sharedLibraryName)
    
 booleanisSystemComponent(String componentName)
     This method is used to find out if this is a system component.
 booleanisSystemSharedLibrary(String sharedLibraryName)
    



Method Detail
getAttribute
String getAttribute(ConfigurationCategory type, String name) throws RegistryException(Code)
Get 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
exception:
  RegistryException - on errors in getting the attribute value the String representation of the attributes value



getAttribute
String getAttribute(String targetName, ConfigurationCategory type, String name) throws RegistryException(Code)
Get the value of a configuration attribute belonging to the specified category, for the specified target.
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 the String representation of the attributes value



getClusters
List<String> getClusters() throws RegistryException(Code)
a list of Clusters from the registry



getClustersDeployingServiceAssembly
List<String> getClustersDeployingServiceAssembly(String serviceAssemblyName) throws RegistryException(Code)

Parameters:
  serviceAssemblyName - - Service Assembly name a List of all clusters deploying a service assembly.The List excludes all non-clustered servers.
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



getClustersInstallingComponent
List<String> getClustersInstallingComponent(String componentName) throws RegistryException(Code)

Parameters:
  componentName - - Component name a List of all clusters installing a component.
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



getClustersInstallingSharedLibrary
List<String> getClustersInstallingSharedLibrary(String sharedLibraryName) throws RegistryException(Code)

Parameters:
  sharedLibraryName - - Shared Library name a List of all clusters installing a shared library.
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



getComponentArchive
String getComponentArchive(String componentName) throws RegistryException(Code)

Parameters:
  componentName - - component name the filename for the associated archive
throws:
  RegistryException - if a problem exists.



getComponentDescriptor
ComponentDescriptor getComponentDescriptor(String componentName) throws RegistryException(Code)

Parameters:
  componentName - - component name wrapper for the Installation descriptor for the component.
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



getComponentFileName
String getComponentFileName(String componentName) throws RegistryException(Code)
Get the file name for the domain component.
Parameters:
  componentName - - component name



getComponentInstallationDescriptor
String getComponentInstallationDescriptor(String componentName) throws RegistryException(Code)

Parameters:
  componentName - - component name the Installation descriptor for the component.
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



getComponentTimestamp
long getComponentTimestamp(String componentName) throws RegistryException(Code)
Get the timestamp for the domain component.
Parameters:
  componentName - - component name



getComponentType
ComponentType getComponentType(String componentName) throws RegistryException(Code)



getComponentUpgradeNumber
public BigInteger getComponentUpgradeNumber(String componentName) throws RegistryException(Code)
This method is used to get the value of the attribute upgrade-number from the domain level entry for the component in the registry
Parameters:
  componentName - the componentName BigInteger the upgrade number
throws:
  RegistryException - if the upgrade number could not be retrieved



getRegisteredComponents
List<String> getRegisteredComponents() throws RegistryException(Code)
a List of Components registered in the domain.



getRegisteredServiceAssemblies
List<String> getRegisteredServiceAssemblies() throws RegistryException(Code)
a List of Service Assemblies registered in the domain.



getRegisteredSharedLibraries
List<String> getRegisteredSharedLibraries() throws RegistryException(Code)
a List of Shared Libraries registered in the domain.



getServers
List<String> getServers() throws RegistryException(Code)
a list of Servers from the registry



getServersDeployingServiceAssembly
List<String> getServersDeployingServiceAssembly(String serviceAssemblyName) throws RegistryException(Code)

Parameters:
  serviceAssemblyName - - Service Assembly name a List of all servers deploying a service assembly.The List excludes all non-clustered servers.
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



getServersInstallingComponent
List<String> getServersInstallingComponent(String componentName) throws RegistryException(Code)

Parameters:
  componentName - - Component name a List of all servers installing a component.The List excludes all non-clustered servers.
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



getServersInstallingSharedLibrary
List<String> getServersInstallingSharedLibrary(String sharedLibraryName) throws RegistryException(Code)

Parameters:
  sharedLibraryName - - Shared Library name a List of all servers installing a shared library.The List excludes all non-clustered servers.
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



getServiceAssemblyArchive
String getServiceAssemblyArchive(String serviceAssemblyName) throws RegistryException(Code)

Parameters:
  serviceAssemblyName - - service assembly name the filename for the associated archive
throws:
  RegistryException - if a problem exists.



getServiceAssemblyDeploymentDescriptor
String getServiceAssemblyDeploymentDescriptor(String serviceAssemblyName) throws RegistryException(Code)

Parameters:
  serviceAssemblyName - - service assembly name the Installation descriptor for the component.
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



getServiceAssemblyFileName
String getServiceAssemblyFileName(String saName) throws RegistryException(Code)
Get the file name for the domain service assembly.
Parameters:
  saName - - service assembly name



getServiceAssemblyTimestamp
long getServiceAssemblyTimestamp(String saName) throws RegistryException(Code)
Get the timestamp for the domain service assembly.
Parameters:
  saName - - service assembly name



getServiceUnitDeploymentDescriptor
String getServiceUnitDeploymentDescriptor(String serviceAssemblyName, String serviceUnitName) throws RegistryException(Code)

Parameters:
  serviceAssemblyName - - service assembly name
Parameters:
  serviceUnitName - - service unit name the Installation descriptor for the service unit.
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



getSharedLibraryArchive
String getSharedLibraryArchive(String sharedLibraryName) throws RegistryException(Code)

Parameters:
  sharedLibraryName - - sharedLibrary name the filename for the associated archive
throws:
  RegistryException - if a problem exists.



getSharedLibraryFileName
String getSharedLibraryFileName(String slName) throws RegistryException(Code)
Get the file name for the domain shared library.
Parameters:
  slName - - shared library name



getSharedLibraryInstallationDescriptor
String getSharedLibraryInstallationDescriptor(String sharedLibraryName) throws RegistryException(Code)

Parameters:
  sharedLibraryName - - shared library name the Installation descriptor for the shared library.
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



getSharedLibraryTimestamp
long getSharedLibraryTimestamp(String slName) throws RegistryException(Code)
Get the timestamp for the domain shared library.
Parameters:
  slName - - shared library name



isAttributeOverriden
public boolean isAttributeOverriden(String targetName, ConfigurationCategory type, String name)(Code)
Determine if a configuration attribute is overriden by a target.
Parameters:
  targetName - - target instance/cluster name.
Parameters:
  type - - configuration category
Parameters:
  name - - identification for the attribute true if the attribute is overriden by a target



isComponentInstalled
boolean isComponentInstalled(String componentName) throws RegistryException(Code)
true if a component is installed on one or more servers / clusters
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



isComponentRegistered
boolean isComponentRegistered(String componentName) throws RegistryException(Code)
true if the component is registered in the domain.



isGlobalConfigurationDefined
boolean isGlobalConfigurationDefined()(Code)
Determine if the domain configuration is present in the registry true if the domain-config is defined in the registry



isServiceAssemblyDeployed
boolean isServiceAssemblyDeployed(String serviceAssemblyName) throws RegistryException(Code)
true if a service assembly is deployed on one or more servers / clusters
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



isServiceAssemblyRegistered
boolean isServiceAssemblyRegistered(String serviceAssemblyName) throws RegistryException(Code)
true if the Service Assembly is registered in the domain.



isSharedLibraryInstalled
boolean isSharedLibraryInstalled(String sharedLibraryName) throws RegistryException(Code)
true if a shared library is installed on one or more servers / clusters
throws:
  RegistryException - if a read lock cannot be acquired to access the in-memory Registry.



isSharedLibraryRegistered
boolean isSharedLibraryRegistered(String sharedLibraryName) throws RegistryException(Code)
true if the Shared Library is registered in the domain.



isSystemComponent
boolean isSystemComponent(String componentName) throws RegistryException(Code)
This method is used to find out if this is a system component. This method returns the value of system-install attribute for this component from the registry A component that has system-install set to true will have its install root under AS_INSTALL/jbi and it should not be deleted on unload of the component's uninstaller.
Parameters:
  componentName - the name of the component boolean true if system-install is true, false otherwise



isSystemSharedLibrary
boolean isSystemSharedLibrary(String sharedLibraryName) throws RegistryException(Code)
This method is used to find out if this is a system shared library This method returns the value of system-install attribute for this shared library from the registry A shared library that has system-install set to true will have its install root under AS_INSTALL/jbi and it should not be deleted on uninstall
Parameters:
  sharedLibraryName - the name of the shared library boolean true if system-install is true, false otherwise



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