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


java.lang.Object
   com.sun.jbi.ui.runtime.mbeans.AbstractUIMBeanImpl

All known Subclasses:   com.sun.jbi.ui.runtime.mbeans.JBIAdminCommandsUIMBeanImpl,  com.sun.jbi.ui.runtime.mbeans.JBIStatisticsMBeanImpl,
AbstractUIMBeanImpl
public class AbstractUIMBeanImpl (Code)
Base class for Implementation of the UI MBean interface.
author:
   graj


Field Summary
final protected static  intANY_FRAMEWORK_COMPONENT_STATE
    
final protected static  StringCOMPONENT_CONFIG_INSTANCE_ERROR_KEY
    
final protected static  StringFRAMEWORK_SA_ANY_STATE
    
final protected static  StringFRAMEWORK_SA_SHUTDOWN_STATE
    
final protected static  StringFRAMEWORK_SA_STARTED_STATE
    
final protected static  StringFRAMEWORK_SA_STOPPED_STATE
    
final protected static  StringFRAMEWORK_SU_SHUTDOWN_STATE
    
final protected static  StringFRAMEWORK_SU_STARTED_STATE
    
final protected static  StringFRAMEWORK_SU_STOPPED_STATE
    
final protected static  StringFRAMEWORK_SU_UNKNOWN_STATE
    
final protected static  StringRUNNING_STATE
    
final protected static  StringSTARTED_STATE
    
protected transient  AdministrationServiceadministrationService
    
protected transient  ConfigurationServiceconfigurationService
    
protected transient  DeploymentServicedeploymentService
    
protected transient  InstallationServiceinstallationService
    
protected  ComponentConfigurationHelpermCfgHlpr
    
protected  EnvironmentContextmEnvContext
     Jbi Environment context.
protected transient  PerformanceMeasurementServiceperformanceMeasurementService
    
protected transient  RuntimeManagementServiceruntimeManagementService
    

Constructor Summary
public  AbstractUIMBeanImpl(EnvironmentContext anEnvContext)
    

Method Summary
protected  AttributeListconstructMBeanAttributes(ObjectName objectName, Properties params)
    
protected  AttributeListconstructMBeanAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, Properties params)
    
 StringconvertToEnvironmentVariableString(Object valueObject)
    
 TabularDatacreateEnvironmentVariableTabularStructure()
    
 ExceptioncreateManagementException(String bundleKey, String[] args, Exception sourceException)
    
 StringcreateManagementMessage(String taskId, boolean successResult, String msgType, String msgCode, Object[] args)
     Creates a management message.
public  ObjectNamefindDeployerMBean(String componentName)
     returns the ObjectName for the DeployerMBean for the component.
public  ObjectNamegetAdminServiceMBeanObjectName()
     returns the ObjectName for the AdminService Mbean of this component.
protected  AdministrationServicegetAdministrationService()
    
protected  ObjectgetAttributeValue(MBeanServer mbeanServer, ObjectName objectName, String attributeName)
    
protected  ObjectgetAttributeValue(ObjectName objectName, String attributeName)
    
 StringgetComponentConfigurationDisplayData(MBeanServer server, ObjectName objectName)
    
 StringgetComponentConfigurationDisplayData(MBeanServerConnection connection, ObjectName objectName)
    
 StringgetComponentConfigurationDisplaySchema(MBeanServer server, ObjectName objectName)
    
 StringgetComponentConfigurationDisplaySchema(MBeanServerConnection connection, ObjectName objectName)
    
 ListgetComponentConfigurationPasswordFields(String xmlDataString, String[] keys)
    
 Map<String /* targetInstanceName */, PropertiesgetComponentConfigurationProperties(String componentName, String targetName)
    
public  ObjectNamegetComponentLifeCycleMBeanObjectName(String componentName, String targetName)
     returns the ObjectName for the lifecycle Mbean of this component.
protected  StringgetComponentNameFromJmxObjectName(ObjectName jmxObjectName)
    
public  CollectiongetComponentNamesDependentOnServiceAssembly(String saId, String targetName)
    
public  CollectiongetComponentNamesDependentOnServiceAssembly(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String saName, String targetName)
    
public  CollectiongetComponentNamesDependentOnSharedLibrary(String slibName, String targetName)
    
public  CollectiongetComponentNamesDependentOnSharedLibrary(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String slibName, String targetName)
    
public  CollectiongetComponentNamesDependentOnSharedLibraryAndServiceAssembly(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String slibName, String saName, String targetName)
     list of component names.
public  SetgetComponentNamesWithStatus(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String targetName)
    
protected  PropertiesgetConfigurationAttributeValues(ObjectName objectName)
    
protected  Map<String, Descriptor>getConfigurationDescriptors(ObjectName objectName)
    
public  ObjectNamegetConfigurationMBeanObjectName(String targetName, String configurationType)
    
protected  ConfigurationServicegetConfigurationService()
    
 PropertiesgetDefaultRuntimeConfigurationInternal(String targetName)
    
protected  DeploymentServicegetDeploymentService()
    
public  ObjectNamegetDeploymentServiceMBeanObjectName(String targetName)
     returns the ObjectName for the DeploymentService Mbean of this component.
protected static  EnvironmentContextgetEnvironmentContext()
    
 TabularDatagetEnvironmentVariables(Map<String, String[]> environmentVariableMap, CompositeType environmentVariableRowType)
    
public  ObjectNamegetExtensionMBeanObjectName(String componentName, String targetName)
     returns the ObjectName for the Extension Mbean of this component.
public  ListgetFrameworkComponentInfoList(Collection compNameList, String targetName)
    
protected  ListgetFrameworkComponentInfoListForEnginesAndBindings(ComponentType frameworkCompType, ComponentState frameworkCompState, String sharedLibraryName, String serviceAssemblyName, String targetName)
     list of componentinfo objects.
protected  ListgetFrameworkComponentInfoListForSharedLibraries(String componentName, String targetName)
     this methods check for valid inputs and take only a valid inputs.
public  ListgetFrameworkComponentInfoListForSharedLibraryNames(Collection slibNameList, String targetName)
    
protected  ComponentQuerygetFrameworkComponentQuery(String targetName)
    
protected static  I18NBundlegetI18NBundle()
    
public  StringgetInstallationDescriptor(String componentName, String targetName)
     Retrieve the Component Installation descriptor for the server target. The Installation descriptor will never be different for a component name in a JBI system because there's only one component allowed with that same name.
protected  InstallationServicegetInstallationService()
    
public  ObjectNamegetInstallationServiceMBeanObjectName()
     returns the ObjectName for the InstallationService Mbean of this component.
public  ObjectNamegetInstallationServiceMBeanObjectName(String targetName)
     returns the ObjectName for the InstallationService Mbean of this component.
public  ObjectNamegetLoggingServiceMBeanObjectName(String targetName)
     returns the ObjectName for the LoggingService Mbean of this target.
protected  ObjectgetMBeanAttribute(ObjectName objectName, String attributeName)
    
protected  PropertiesgetMBeanAttributeValues(MBeanServer mbeanServer, ObjectName objectName)
    
protected  PropertiesgetMBeanAttributeValues(MBeanServerConnection connection, ObjectName objectName)
    
protected  MBeanInfogetMBeanInfo(ObjectName mbeanName)
    
protected  PerformanceMeasurementServicegetPerformanceMeasurementService()
    
protected  PlatformContextgetPlatformContext()
    
 PropertiesgetRuntimeConfigurationInternal(String targetName)
    
 Map<String /* propertyKeyName */, Properties>getRuntimeConfigurationMetadataInternal(String targetName)
    
protected  RuntimeManagementServicegetRuntimeManagementService()
    
protected  ListgetServiceAssemblyInfoList(String frameworkState, String componentName, String targetName)
    
public  StringgetSharedLibraryDescriptor(String libraryName, String targetName)
     Retrieve the Shared Library Installation descriptor for the server target. The Installation descriptor will never be different for a library name in a JBI system because there's only one library allowed with that same name.
public  ObjectName[]getSystemLoggerMBeans(String instanceName)
    
public  ListgetUiComponentInfoList(ComponentType frameworkCompType, String targetName)
    
protected  ObjectinvokeMBeanOperation(ObjectName objectName, String operationName, Object[] params, String[] signature)
    
protected  ObjectinvokeMBeanOperation(ObjectName objectName, String operationName, String param)
    
protected  ObjectinvokeMBeanOperation(ObjectName objectName, String operationName)
    
public  booleanisExistingComponent(String componentName, String targetName)
    
public  booleanisExistingSharedLibrary(String sharedLibraryName, String targetName)
    
 booleanisMBeanRegistered(ObjectName objectName)
     Test whether an mbean is registered.
public  booleanisSharedLibraryArchive(String zipPath)
    
 booleanisValidTarget(ObjectName objectName)
     Test whether it is a valid target.
public static  voidlog(String aMsg)
    
public static  voidlogDebug(String aMsg)
    
public static  voidlogDebug(Exception ex)
    
public static  voidlogError(Exception ex)
    
public static  voidlogWarning(Exception ex)
    
 StringmaskSensitiveString(String sensitiveString, char maskCharacter)
    
protected  voidsetAttributeValue(ObjectName objectName, String attributeName, Object attributeValue)
    
 PropertiessetComponentConfigurationProperties(String componentName, Properties configurationValues, String targetName)
    
 Map<String, String[]>setEnvironmentVariables(TabularData tabularDataIn)
    
protected  voidsetMBeanAttribute(ObjectName objectName, String attributeName, Object attributeValue)
    
protected  voidsetMBeanAttributes(ObjectName objectName, AttributeList attrList)
    
protected  AttributeListsetMBeanAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, AttributeList attrList)
    
protected  StringsetMBeanConfigAttributes(ObjectName objectName, AttributeList attrList)
    
protected  StringsetMBeanConfigAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, AttributeList attrList)
    
 booleansetRuntimeConfigurationInternal(Properties properties, String targetName)
    
public static  ComponentStatetoFrameworkComponentInfoState(String uiCompState)
    
public static  ComponentTypetoFrameworkComponentInfoType(String uiCompType)
    
public static  StringtoFrameworkServiceAssemblyState(String uiState)
     converts to deployment service service assembly state.
public  JBIComponentInfotoUiComponentInfo(ComponentInfo frameworkCompInfo, String targetName)
    
public  ListtoUiComponentInfoList(List frameworkCompList, String targetName)
    
public static  StringtoUiComponentInfoState(ComponentState frameworkCompState)
    
public static  StringtoUiComponentInfoType(ComponentType frameworkCompType)
    
public static  StringtoUiServiceAssemblyState(String frameworkState)
    
public static  StringtoUiServiceUnitState(String frameworkState)
    
protected  voidupdateEachServiceUnitInfoStateInServiceAssemblyInfo(ServiceAssemblyInfo saInfo, String targetName)
    
protected  voidupdateServiceAssemblyInfoState(ServiceAssemblyInfo saInfo, String targetName)
    
protected  voidupdateServiceUnitInfoState(ServiceUnitInfo suInfo, ObjectName deploymentServiceMBean)
    
public  voidvalidateUiJBIComponentInfoState(String state)
    
public  voidvalidateUiServiceAssemblyInfoState(String state)
    

Field Detail
ANY_FRAMEWORK_COMPONENT_STATE
final protected static int ANY_FRAMEWORK_COMPONENT_STATE(Code)
any framework state



COMPONENT_CONFIG_INSTANCE_ERROR_KEY
final protected static String COMPONENT_CONFIG_INSTANCE_ERROR_KEY(Code)



FRAMEWORK_SA_ANY_STATE
final protected static String FRAMEWORK_SA_ANY_STATE(Code)
any state



FRAMEWORK_SA_SHUTDOWN_STATE
final protected static String FRAMEWORK_SA_SHUTDOWN_STATE(Code)
sa shutdown state



FRAMEWORK_SA_STARTED_STATE
final protected static String FRAMEWORK_SA_STARTED_STATE(Code)
sa started state



FRAMEWORK_SA_STOPPED_STATE
final protected static String FRAMEWORK_SA_STOPPED_STATE(Code)
sa stopped state



FRAMEWORK_SU_SHUTDOWN_STATE
final protected static String FRAMEWORK_SU_SHUTDOWN_STATE(Code)
state



FRAMEWORK_SU_STARTED_STATE
final protected static String FRAMEWORK_SU_STARTED_STATE(Code)
state



FRAMEWORK_SU_STOPPED_STATE
final protected static String FRAMEWORK_SU_STOPPED_STATE(Code)
state



FRAMEWORK_SU_UNKNOWN_STATE
final protected static String FRAMEWORK_SU_UNKNOWN_STATE(Code)
state



RUNNING_STATE
final protected static String RUNNING_STATE(Code)



STARTED_STATE
final protected static String STARTED_STATE(Code)



administrationService
protected transient AdministrationService administrationService(Code)



configurationService
protected transient ConfigurationService configurationService(Code)



deploymentService
protected transient DeploymentService deploymentService(Code)



installationService
protected transient InstallationService installationService(Code)



mCfgHlpr
protected ComponentConfigurationHelper mCfgHlpr(Code)
Component Configuration helper



mEnvContext
protected EnvironmentContext mEnvContext(Code)
Jbi Environment context.



performanceMeasurementService
protected transient PerformanceMeasurementService performanceMeasurementService(Code)



runtimeManagementService
protected transient RuntimeManagementService runtimeManagementService(Code)




Constructor Detail
AbstractUIMBeanImpl
public AbstractUIMBeanImpl(EnvironmentContext anEnvContext)(Code)
constructor
Parameters:
  anEnvContext - context




Method Detail
constructMBeanAttributes
protected AttributeList constructMBeanAttributes(ObjectName objectName, Properties params) throws JBIRemoteException(Code)
invokes the operation on mbean Attribute List of the mbean to set
Parameters:
  objectName - mbean name
Parameters:
  params - a name value pair properties object contains the attributename and its value as string.
throws:
  JBIRemoteException - on user error



constructMBeanAttributes
protected AttributeList constructMBeanAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, Properties params) throws JBIRemoteException(Code)
invokes the operation on mbean Attribute List of the mbean to set
Parameters:
  objectName - mbean name
Parameters:
  params - a name value pair properties object contains the attributename and its value as string.
throws:
  JBIRemoteException - on user error



convertToEnvironmentVariableString
String convertToEnvironmentVariableString(Object valueObject)(Code)
Sets environment variables as name=,type=, value=;
Parameters:
  valueObject - environment variable string



createEnvironmentVariableTabularStructure
TabularData createEnvironmentVariableTabularStructure() throws OpenDataException(Code)

throws:
  OpenDataException -



createManagementException
Exception createManagementException(String bundleKey, String[] args, Exception sourceException)(Code)
Creates a management message string and populates the exception
Parameters:
  bundleKey -
Parameters:
  args - of Strings
Parameters:
  sourceException - -the source exception to propagate Exception object created with a valid XML Management Message



createManagementMessage
String createManagementMessage(String taskId, boolean successResult, String msgType, String msgCode, Object[] args)(Code)
Creates a management message.



findDeployerMBean
public ObjectName findDeployerMBean(String componentName) throws JBIRemoteException(Code)
returns the ObjectName for the DeployerMBean for the component. the ObjectName for the lifecycle Mbean.
Parameters:
  componentName - of a binding or engine component.
throws:
  JBIRemoteException - on error



getAdminServiceMBeanObjectName
public ObjectName getAdminServiceMBeanObjectName() throws JBIRemoteException(Code)
returns the ObjectName for the AdminService Mbean of this component. the ObjectName of the InstallationService MBean or null.
throws:
  JBIRemoteException - on error.



getAdministrationService
protected AdministrationService getAdministrationService()(Code)
Get the Administration Service administration Service



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



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



getComponentConfigurationDisplayData
String getComponentConfigurationDisplayData(MBeanServer server, ObjectName objectName) throws JBIRemoteException(Code)
Retrieve component configuration display data as an XML String
Parameters:
  server -
Parameters:
  objectName -
throws:
  JBIRemoteException -



getComponentConfigurationDisplayData
String getComponentConfigurationDisplayData(MBeanServerConnection connection, ObjectName objectName) throws JBIRemoteException(Code)
Retrieve component configuration display data as an XML String
Parameters:
  connection -
Parameters:
  objectName -
throws:
  JBIRemoteException -



getComponentConfigurationDisplaySchema
String getComponentConfigurationDisplaySchema(MBeanServer server, ObjectName objectName) throws JBIRemoteException(Code)
Retrieve component configuration display schema as an XML String
Parameters:
  server -
Parameters:
  objectName -
throws:
  JBIRemoteException -



getComponentConfigurationDisplaySchema
String getComponentConfigurationDisplaySchema(MBeanServerConnection connection, ObjectName objectName) throws JBIRemoteException(Code)
Retrieve component configuration display schema as an XML String
Parameters:
  connection -
Parameters:
  objectName -
throws:
  JBIRemoteException -



getComponentConfigurationPasswordFields
List getComponentConfigurationPasswordFields(String xmlDataString, String[] keys) throws JBIRemoteException(Code)
Retrieves the password fields in the given XML String
Parameters:
  xmlDataString -
Parameters:
  keys -



getComponentConfigurationProperties
Map<String /* targetInstanceName */, Properties getComponentConfigurationProperties(String componentName, String targetName)(Code)

Parameters:
  componentName -
Parameters:
  targetName -



getComponentLifeCycleMBeanObjectName
public ObjectName getComponentLifeCycleMBeanObjectName(String componentName, String targetName) throws JBIRemoteException(Code)
returns the ObjectName for the lifecycle Mbean of this component. the ObjectName for the lifecycle Mbean.
Parameters:
  componentName - of a binding or engine component.
Parameters:
  targetName -
throws:
  JBIRemoteException - on error



getComponentNameFromJmxObjectName
protected String getComponentNameFromJmxObjectName(ObjectName jmxObjectName)(Code)
finds the component id property in the object name
Parameters:
  jmxObjectName - jmx obj name componentId of the component if embbeded in object name elsenull.



getComponentNamesDependentOnServiceAssembly
public Collection getComponentNamesDependentOnServiceAssembly(String saId, String targetName)(Code)
list of component names list of component names
Parameters:
  saId - service assembly name.
Parameters:
  targetName -



getComponentNamesDependentOnServiceAssembly
public Collection getComponentNamesDependentOnServiceAssembly(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String saName, String targetName)(Code)
list of component names list of component names
Parameters:
  frameworkCompType - component type
Parameters:
  frameworkCompStatus - component state
Parameters:
  saName - service assembly name
Parameters:
  targetName -



getComponentNamesDependentOnSharedLibrary
public Collection getComponentNamesDependentOnSharedLibrary(String slibName, String targetName)(Code)
list of component names list of component names
Parameters:
  slibName - shared library name.
Parameters:
  targetName -



getComponentNamesDependentOnSharedLibrary
public Collection getComponentNamesDependentOnSharedLibrary(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String slibName, String targetName)(Code)
list of component names list of component names
Parameters:
  frameworkCompType - component type
Parameters:
  frameworkCompStatus - component state
Parameters:
  slibName - shared library name
Parameters:
  targetName -



getComponentNamesDependentOnSharedLibraryAndServiceAssembly
public Collection getComponentNamesDependentOnSharedLibraryAndServiceAssembly(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String slibName, String saName, String targetName)(Code)
list of component names. this method requires non null inputs list of component names.
Parameters:
  frameworkCompType - component type
Parameters:
  frameworkCompStatus - component state
Parameters:
  slibName - shared library name
Parameters:
  saName - service assembly name
Parameters:
  targetName -



getComponentNamesWithStatus
public Set getComponentNamesWithStatus(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String targetName)(Code)
list of component names list of component names
Parameters:
  frameworkCompType - component type
Parameters:
  frameworkCompStatus - component state
Parameters:
  targetName -



getConfigurationAttributeValues
protected Properties getConfigurationAttributeValues(ObjectName objectName) throws JBIRemoteException(Code)
Get the config extension MBean attribute values
Parameters:
  objectName -
throws:
  JBIRemoteException -



getConfigurationDescriptors
protected Map<String, Descriptor> getConfigurationDescriptors(ObjectName objectName) throws JBIRemoteException(Code)
Get the attributes on the MBean
Parameters:
  mbeanServer -
Parameters:
  objectName -
throws:
  JBIRemoteException -



getConfigurationMBeanObjectName
public ObjectName getConfigurationMBeanObjectName(String targetName, String configurationType) throws JBIRemoteException(Code)

Parameters:
  targetName -
Parameters:
  configurationType -
throws:
  JBIRemoteException -



getConfigurationService
protected ConfigurationService getConfigurationService()(Code)
Get the Configuration Service configuration Service



getDefaultRuntimeConfigurationInternal
Properties getDefaultRuntimeConfigurationInternal(String targetName) throws JBIRemoteException(Code)



getDeploymentService
protected DeploymentService getDeploymentService()(Code)
Get the Deployment Service deployment Service



getDeploymentServiceMBeanObjectName
public ObjectName getDeploymentServiceMBeanObjectName(String targetName)(Code)
returns the ObjectName for the DeploymentService Mbean of this component.
Parameters:
  targetName - the ObjectName of the DeploymentService MBean or null.



getEnvironmentContext
protected static EnvironmentContext getEnvironmentContext()(Code)
the EnvironmentContext



getEnvironmentVariables
TabularData getEnvironmentVariables(Map<String, String[]> environmentVariableMap, CompositeType environmentVariableRowType) throws OpenDataException(Code)

Parameters:
  environmentVariableMap -
Parameters:
  environmentVariableRowType -
throws:
  OpenDataException -



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



getFrameworkComponentInfoList
public List getFrameworkComponentInfoList(Collection compNameList, String targetName)(Code)
framework component info list
Parameters:
  compNameList - list of component names
Parameters:
  targetName - framework component info list



getFrameworkComponentInfoListForEnginesAndBindings
protected List getFrameworkComponentInfoListForEnginesAndBindings(ComponentType frameworkCompType, ComponentState frameworkCompState, String sharedLibraryName, String serviceAssemblyName, String targetName) throws JBIRemoteException(Code)
list of componentinfo objects. this methods check for valid inputs and take only a valid inputs. for example slib, saName both can be null
Parameters:
  frameworkCompType - component type.
Parameters:
  frameworkCompState - component state
Parameters:
  sharedLibraryName - shared library name
Parameters:
  serviceAssemblyName - service assembly name
Parameters:
  targetName -
throws:
  com.sun.jbi.ui.common.JBIRemoteException - on error list of component info



getFrameworkComponentInfoListForSharedLibraries
protected List getFrameworkComponentInfoListForSharedLibraries(String componentName, String targetName) throws JBIRemoteException(Code)
this methods check for valid inputs and take only a valid inputs. for example slib, saName both can be null
Parameters:
  componentName - name
Parameters:
  targetName -
throws:
  com.sun.jbi.ui.common.JBIRemoteException - on error list of componentInfo objects



getFrameworkComponentInfoListForSharedLibraryNames
public List getFrameworkComponentInfoListForSharedLibraryNames(Collection slibNameList, String targetName)(Code)
list of component infos
Parameters:
  targetName - list of component infos
Parameters:
  slibNameList - shared library names



getFrameworkComponentQuery
protected ComponentQuery getFrameworkComponentQuery(String targetName)(Code)
return framework query
Parameters:
  targetName - framework query interface



getI18NBundle
protected static I18NBundle getI18NBundle()(Code)
gives the I18N bundle I18NBundle object



getInstallationDescriptor
public String getInstallationDescriptor(String componentName, String targetName)(Code)
Retrieve the Component Installation descriptor for the server target. The Installation descriptor will never be different for a component name in a JBI system because there's only one component allowed with that same name. Therefore, this implies a registry lookup for the server target.
Parameters:
  Component - name as a string
Parameters:
  targetName - the Component Installation descriptor as a string
throws:
  JBIRemoteException - on error



getInstallationService
protected InstallationService getInstallationService()(Code)
Get the Installation Service installation Service



getInstallationServiceMBeanObjectName
public ObjectName getInstallationServiceMBeanObjectName()(Code)
returns the ObjectName for the InstallationService Mbean of this component. the ObjectName of the InstallationService MBean or null.



getInstallationServiceMBeanObjectName
public ObjectName getInstallationServiceMBeanObjectName(String targetName)(Code)
returns the ObjectName for the InstallationService Mbean of this component.
Parameters:
  targetName - the ObjectName of the InstallationService MBean or null.



getLoggingServiceMBeanObjectName
public ObjectName getLoggingServiceMBeanObjectName(String targetName)(Code)
returns the ObjectName for the LoggingService Mbean of this target.
Parameters:
  targetName - the ObjectName of the LoggingService MBean or null.



getMBeanAttribute
protected Object getMBeanAttribute(ObjectName objectName, String attributeName) throws JBIRemoteException(Code)
invokes the operation on mbean result object
Parameters:
  attributeName - attribute name
Parameters:
  objectName - object name
throws:
  JBIRemoteException - on user error



getMBeanAttributeValues
protected Properties getMBeanAttributeValues(MBeanServer mbeanServer, ObjectName objectName) throws JBIRemoteException(Code)
Get the attributes on the MBean
Parameters:
  mbeanServer -
Parameters:
  objectName -
throws:
  JBIRemoteException -



getMBeanAttributeValues
protected Properties getMBeanAttributeValues(MBeanServerConnection connection, ObjectName objectName) throws JBIRemoteException(Code)
Get the attributes on the MBean
Parameters:
  connection -
Parameters:
  objectName -
throws:
  JBIRemoteException -



getMBeanInfo
protected MBeanInfo getMBeanInfo(ObjectName mbeanName) throws JBIRemoteException(Code)
This method is used to get MBeanInfo for the given mbean object MBeanInfo object
Parameters:
  mbeanName - the objectname for the mbean
throws:
  JBIRemoteException -



getPerformanceMeasurementService
protected PerformanceMeasurementService getPerformanceMeasurementService()(Code)
Get the Performance Measurement Service Performance Measurement Service



getPlatformContext
protected PlatformContext getPlatformContext()(Code)
the platform context



getRuntimeConfigurationInternal
Properties getRuntimeConfigurationInternal(String targetName) throws JBIRemoteException(Code)



getRuntimeConfigurationMetadataInternal
Map<String /* propertyKeyName */, Properties> getRuntimeConfigurationMetadataInternal(String targetName) throws JBIRemoteException(Code)



getRuntimeManagementService
protected RuntimeManagementService getRuntimeManagementService()(Code)
Get the Runtime management Service Runtime management Service



getServiceAssemblyInfoList
protected List getServiceAssemblyInfoList(String frameworkState, String componentName, String targetName) throws JBIRemoteException(Code)
list of service assembly infos
Parameters:
  frameworkState - state
Parameters:
  componentName - name
Parameters:
  targetName -
throws:
  com.sun.jbi.ui.common.JBIRemoteException - on error list of service assembly infos



getSharedLibraryDescriptor
public String getSharedLibraryDescriptor(String libraryName, String targetName)(Code)
Retrieve the Shared Library Installation descriptor for the server target. The Installation descriptor will never be different for a library name in a JBI system because there's only one library allowed with that same name. Therefore, this implies a registry lookup for the domain target.
Parameters:
  libraryName - name as a string
Parameters:
  targetName - the Library Installation descriptor as a string
throws:
  JBIRemoteException - on error



getSystemLoggerMBeans
public ObjectName[] getSystemLoggerMBeans(String instanceName)(Code)
Looks up the cascaded LoggerMBeans for all JBI Framework System Services for a specific instance array of object names for all system service LoggerMBeans.



getUiComponentInfoList
public List getUiComponentInfoList(ComponentType frameworkCompType, String targetName) throws JBIRemoteException(Code)
list of ui component infos list of ui component infos
Parameters:
  frameworkCompType - type of the component
Parameters:
  targetName -



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



invokeMBeanOperation
protected Object invokeMBeanOperation(ObjectName objectName, String operationName, String param) throws JBIRemoteException(Code)
invokes the operation on mbean result object
Parameters:
  objectName - object name
Parameters:
  operationName - operation name
Parameters:
  param - operation param of type String
throws:
  JBIRemoteException - on user error



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



isExistingComponent
public boolean isExistingComponent(String componentName, String targetName)(Code)
checks the component name in the registry true if component exists else false.
Parameters:
  componentName - name of the component
Parameters:
  targetName -



isExistingSharedLibrary
public boolean isExistingSharedLibrary(String sharedLibraryName, String targetName)(Code)
check for shared namespace true if it is namespace id else false.
Parameters:
  sharedLibraryName - id String
Parameters:
  targetName -



isMBeanRegistered
boolean isMBeanRegistered(ObjectName objectName) throws JBIRemoteException(Code)
Test whether an mbean is registered.
Parameters:
  objectName - true when the mbean is registered, false otherwise
throws:
  JBIRemoteException -



isSharedLibraryArchive
public boolean isSharedLibraryArchive(String zipPath)(Code)
check for shared library true if it is shared library else false.
Parameters:
  zipPath - file path



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 -



log
public static void log(String aMsg)(Code)
logs the message
Parameters:
  aMsg - message string



logDebug
public static void logDebug(String aMsg)(Code)
logs the message
Parameters:
  aMsg - message string



logDebug
public static void logDebug(Exception ex)(Code)
logs the message
Parameters:
  ex - exception



logError
public static void logError(Exception ex)(Code)
logs errors
Parameters:
  ex - exception



logWarning
public static void logWarning(Exception ex)(Code)
logs warnings
Parameters:
  ex - exception



maskSensitiveString
String maskSensitiveString(String sensitiveString, char maskCharacter)(Code)

Parameters:
  sensitiveString -
Parameters:
  maskCharacter -



setAttributeValue
protected void setAttributeValue(ObjectName objectName, String attributeName, Object attributeValue) 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



setComponentConfigurationProperties
Properties setComponentConfigurationProperties(String componentName, Properties configurationValues, String targetName) throws JBIRemoteException(Code)

Parameters:
  componentName -
Parameters:
  configurationValues -
Parameters:
  targetName -
throws:
  JBIRemoteException -



setEnvironmentVariables
Map<String, String[]> setEnvironmentVariables(TabularData tabularDataIn) throws InvalidAttributeValueException, OpenDataException, MBeanException(Code)

Parameters:
  tabularDataIn -
throws:
  InvalidAttributeValueException -
throws:
  OpenDataException -
throws:
  MBeanException -



setMBeanAttribute
protected void setMBeanAttribute(ObjectName objectName, String attributeName, Object attributeValue) throws JBIRemoteException(Code)
invokes the operation on mbean
Parameters:
  attributeValue - attrbute name
Parameters:
  attributeName - attribute value
Parameters:
  objectName - object name
throws:
  JBIRemoteException - on user error



setMBeanAttributes
protected void setMBeanAttributes(ObjectName objectName, AttributeList attrList) throws JBIRemoteException(Code)
set the specified attribute values on the mbean attributes
Parameters:
  attrList - list of attributes
Parameters:
  objectName - object name
throws:
  JBIRemoteException - on user error



setMBeanAttributes
protected AttributeList setMBeanAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, AttributeList attrList) throws JBIRemoteException(Code)
set the specified attribute values on the mbean attributes
Parameters:
  attrList - list of attributes
Parameters:
  objectName - object name
throws:
  JBIRemoteException - on user error



setMBeanConfigAttributes
protected String setMBeanConfigAttributes(ObjectName objectName, AttributeList attrList) throws JBIRemoteException(Code)
set the specified attribute values on the mbean attributes
Parameters:
  attrList - list of attributes
Parameters:
  objectName - object name management message response from setConfigurationAttributes
throws:
  JBIRemoteException - on user error



setMBeanConfigAttributes
protected String setMBeanConfigAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, AttributeList attrList) throws JBIRemoteException(Code)
set the specified attribute values on the mbean attributes
Parameters:
  MBeanServer - the MBean server to use
Parameters:
  attrList - list of attributes
Parameters:
  objectName - object name management message response from setConfigurationAttributes
throws:
  JBIRemoteException - on user error



setRuntimeConfigurationInternal
boolean setRuntimeConfigurationInternal(Properties properties, String targetName) throws JBIRemoteException(Code)



toFrameworkComponentInfoState
public static ComponentState toFrameworkComponentInfoState(String uiCompState)(Code)
framework states state
Parameters:
  uiCompState - state



toFrameworkComponentInfoType
public static ComponentType toFrameworkComponentInfoType(String uiCompType)(Code)
converts type int type
Parameters:
  uiCompType - type



toFrameworkServiceAssemblyState
public static String toFrameworkServiceAssemblyState(String uiState)(Code)
converts to deployment service service assembly state. state
Parameters:
  uiState - state



toUiComponentInfo
public JBIComponentInfo toUiComponentInfo(ComponentInfo frameworkCompInfo, String targetName) throws JBIRemoteException(Code)
return component info object object
Parameters:
  frameworkCompInfo - framework component info
Parameters:
  targetName -



toUiComponentInfoList
public List toUiComponentInfoList(List frameworkCompList, String targetName) throws JBIRemoteException(Code)
convert to ui component info list ui component info list
Parameters:
  frameworkCompList - framework component info list



toUiComponentInfoState
public static String toUiComponentInfoState(ComponentState frameworkCompState)(Code)
converts state state
Parameters:
  frameworkCompState - state



toUiComponentInfoType
public static String toUiComponentInfoType(ComponentType frameworkCompType)(Code)
converts type type
Parameters:
  frameworkCompType - type



toUiServiceAssemblyState
public static String toUiServiceAssemblyState(String frameworkState)(Code)
converts to ui service assembly state state
Parameters:
  frameworkState - state



toUiServiceUnitState
public static String toUiServiceUnitState(String frameworkState)(Code)
converts to ui service unit state state
Parameters:
  frameworkState - state



updateEachServiceUnitInfoStateInServiceAssemblyInfo
protected void updateEachServiceUnitInfoStateInServiceAssemblyInfo(ServiceAssemblyInfo saInfo, String targetName) throws JBIRemoteException(Code)
update the state in each service unit info in service assembly info
Parameters:
  saInfo - service assembly info object
Parameters:
  targetName -
throws:
  com.sun.jbi.ui.common.JBIRemoteException - on error



updateServiceAssemblyInfoState
protected void updateServiceAssemblyInfoState(ServiceAssemblyInfo saInfo, String targetName) throws JBIRemoteException(Code)
update state in service assembly info
Parameters:
  saInfo - service assembly info
Parameters:
  targetName -
throws:
  com.sun.jbi.ui.common.JBIRemoteException - on error



updateServiceUnitInfoState
protected void updateServiceUnitInfoState(ServiceUnitInfo suInfo, ObjectName deploymentServiceMBean)(Code)
updates the state in the service unit info
Parameters:
  suInfo - service unit info object
Parameters:
  ObjectName - deploymentServiceMBean



validateUiJBIComponentInfoState
public void validateUiJBIComponentInfoState(String state) throws JBIRemoteException(Code)
validates the state value component info
throws:
  JBIRemoteException - on validation failure



validateUiServiceAssemblyInfoState
public void validateUiServiceAssemblyInfoState(String state) throws JBIRemoteException(Code)
validates the state value for service assembly
throws:
  JBIRemoteException - on validation failure



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.