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


java.lang.Object
   com.sun.jbi.ui.runtime.verifier.JBIApplicationVerifier

JBIApplicationVerifier
public class JBIApplicationVerifier (Code)
This class implements JBI Application Verification functionality.


Field Summary
static  String[]ENDPOINT_DATA_ITEM_DESCRIPTIONS
    
static  String[]ENDPOINT_DATA_ITEM_NAMES
    
static  String[]JAVAEE_VERIFIER_ITEM_DESCRIPTIONS
    
static  String[]JAVAEE_VERIFIER_ITEM_NAMES
    
static  StringSTATUS_RESOLVED
    
static  StringSTATUS_UNKNOWN
    
static  StringSTATUS_UNRESOLVED
    

Constructor Summary
public  JBIApplicationVerifier(EnvironmentContext envCtx)
    

Method Summary
 voidcheckForValidTarget(ObjectName objectName, String targetName)
    
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.
protected  ObjectgetAttributeValue(ObjectName objectName, String attributeName)
    
public  ObjectNamegetExtensionMBeanObjectName(String componentName, String targetName)
     returns the ObjectName for the Extension Mbean of this component.
protected  ObjectinvokeMBeanOperation(ObjectName objectName, String operationName, Object[] params, String[] signature)
    
public  booleanisComponentRunning(String componentName, String target)
     This method is used to find out if a component is started in the target.
 booleanisValidTarget(ObjectName objectName)
     Test whether it is a valid target.
public  String[]validateComponentList(JBIArchive archive, String targetName)
    
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
ENDPOINT_DATA_ITEM_DESCRIPTIONS
static String[] ENDPOINT_DATA_ITEM_DESCRIPTIONS(Code)
EndpointInfo CompositeType descriptions



ENDPOINT_DATA_ITEM_NAMES
static String[] ENDPOINT_DATA_ITEM_NAMES(Code)
EndpointInfo CompositeType items



JAVAEE_VERIFIER_ITEM_DESCRIPTIONS
static String[] JAVAEE_VERIFIER_ITEM_DESCRIPTIONS(Code)



JAVAEE_VERIFIER_ITEM_NAMES
static String[] JAVAEE_VERIFIER_ITEM_NAMES(Code)
JavaEE Verifier report item names



STATUS_RESOLVED
static String STATUS_RESOLVED(Code)
status string for resolved SAs



STATUS_UNKNOWN
static String STATUS_UNKNOWN(Code)
status unknown for endpoint corresponding to components that are not installed / could not be started



STATUS_UNRESOLVED
static String STATUS_UNRESOLVED(Code)
status string for unresolved SAs




Constructor Detail
JBIApplicationVerifier
public JBIApplicationVerifier(EnvironmentContext envCtx)(Code)
Constructs an instance of JBIApplicationVerifier
Parameters:
  envCtx - EnvironmentContext




Method Detail
checkForValidTarget
void checkForValidTarget(ObjectName objectName, String targetName) throws JBIRemoteException(Code)
Check if a target is valid or not
Parameters:
  objectName -
throws:
  JBIRemoteException -



exportApplicationConfiguration
public String exportApplicationConfiguration(String applicationName, String targetName, String configDir) throws JBIRemoteException(Code)
This method is used to export the application variables and application configuration objects used by the given application in the specified target.
Parameters:
  applicationName - the name of the application
Parameters:
  targetName - the target whose configuration has to be exported
Parameters:
  configDir - the dir to store the configurations
throws:
  ManagementRemoteException - if the application configuration could not be exportedNote: param configDir is used between ant/cli and common client client.The return value is used between common client server and common clientclient.



getAttributeValue
protected Object getAttributeValue(ObjectName objectName, String attributeName) throws JBIRemoteException(Code)
Invokes the mbean and retrieves the attribute value
Parameters:
  objectName - object name
Parameters:
  attributeName - attribute name the value of the attribute
throws:
  JBIRemoteException - on error



getExtensionMBeanObjectName
public ObjectName getExtensionMBeanObjectName(String componentName, String targetName) throws VerifierException(Code)
returns the ObjectName for the Extension Mbean of this component.
Parameters:
  componentName -
Parameters:
  targetName - the ObjectName of the Extension MBean or null.



invokeMBeanOperation
protected Object invokeMBeanOperation(ObjectName objectName, String operationName, Object[] params, String[] signature) throws JBIRemoteException(Code)
invokes the operation on mbean result object
Parameters:
  objectName - object name
Parameters:
  operationName - operation name
Parameters:
  params - parameters
Parameters:
  signature - signature of the parameters
throws:
  JBIRemoteException - on user error



isComponentRunning
public boolean isComponentRunning(String componentName, String target)(Code)
This method is used to find out if a component is started in the target. If not, the runtime configuration property is checked to see if the component could be started. If so, the component is started. If not this method retunrs false as the status of the endpoint in this target could not be obtained
Parameters:
  componentName - componentName
Parameters:
  target - target



isValidTarget
boolean isValidTarget(ObjectName objectName) throws JBIRemoteException(Code)
Test whether it is a valid target.
Parameters:
  objectName - true when the mbean is registered, false otherwise
throws:
  JBIRemoteException -



validateComponentList
public String[] validateComponentList(JBIArchive archive, String targetName) throws JBIRemoteException(Code)
This method is used to verify if the components needed by a given SA are installed
Parameters:
  archive - the service assembly archive
throws:
  JBIRemoteException -



verifyApplication
public CompositeData verifyApplication(String applicationURL, String targetName, boolean generateTemplates, String templateDir, boolean includeDeployCommand) throws JBIRemoteException(Code)
This method is used to verify if the application variables and application configuration objects used in the given application are available in JBI runtime in the specified target. Also this method verifies if all necessary components are installed. If generateTemplates is true templates for missing application variables and application configurations are generated. A command script that uses the template files to set configuration objects is generated.
Parameters:
  applicationURL - the URL for the application zip file
Parameters:
  targetName - the target on which the application has to be verified
Parameters:
  generateTemplates - true if templates have to be generated
Parameters:
  templateDir - the dir to store the generated templates
Parameters:
  includeDeployCommand - true if the generated script should includedeploy command
throws:
  JBIRemoteException - if the application could not be verifiedNote: param templateDir is used between ant/cli and common client clientTemplateZIPID is used between common client server and common client client



Methods inherited from 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.