| java.lang.Object com.sun.esb.management.base.services.AbstractServiceMBeansImpl com.sun.esb.management.base.services.AbstractListStateServiceMBeansImpl
All known Subclasses: com.sun.esb.management.impl.runtime.RuntimeManagementServiceMBeanImpl, com.sun.esb.management.impl.administration.AdministrationServiceMBeanImpl, com.sun.esb.management.impl.configuration.ConfigurationServiceMBeanImpl,
Method Summary | |
protected void | componentStartedOnTargetCheck(String componentName, String target) Check if the component is in the "Started" state on the target. | protected ObjectName | getComponentLifeCycleMBeanObjectName(String componentName, String targetName) returns the ObjectName for the lifecycle Mbean of this component. | protected Collection | getComponentNamesDependentOnServiceAssembly(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String saName, String targetName) | protected Collection | getComponentNamesDependentOnServiceAssembly(String saId, String targetName) | protected Collection | getComponentNamesDependentOnSharedLibrary(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String slibName, String targetName) | protected Collection | getComponentNamesDependentOnSharedLibrary(String slibName, String targetName) | protected Collection | getComponentNamesDependentOnSharedLibraryAndServiceAssembly(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String slibName, String saName, String targetName) list of component names. | protected Set | getComponentNamesWithStatus(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String targetName) | protected String | getComponentState(String componentName, String targetName) | protected Map<String, Descriptor> | getConfigurationDescriptors(ObjectName objectName) | protected List | getFrameworkComponentInfoList(Collection compNameList, String targetName) | protected List | getFrameworkComponentInfoListForEnginesAndBindings(ComponentType frameworkCompType, ComponentState frameworkCompState, String sharedLibraryName, String serviceAssemblyName, String targetName) list of componentinfo objects. | protected List | getFrameworkComponentInfoListForSharedLibraries(String componentName, String targetName) this methods check for valid inputs and take only a valid inputs. | protected List | getFrameworkComponentInfoListForSharedLibraryNames(Collection slibNameList, String targetName) | protected ComponentQuery | getFrameworkComponentQuery(String targetName) | protected List | getServiceAssemblyInfoList(String frameworkState, String componentName, String targetName) | protected ObjectName[] | getSystemLoggerMBeans(String instanceName) | protected List | getUiComponentInfoList(ComponentType frameworkCompType, String targetName) | protected boolean | isExistingComponent(String componentName, String targetName) | protected boolean | isExistingSharedLibrary(String sharedLibraryName, String targetName) | protected String | listComponents(ComponentType type, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) return component info xml text that has service engines or binding
components infos or both which satisfies the options passed to the
method.
Parameters: type - ComponentInfo.BINDING, ENGINE, BINDING_ENGINE . Parameters: state - return all the components that are in the specified state.valid states are JBIComponentInfo.STARTED, STOPPED, INSTALLEDor null for ANY state Parameters: sharedLibraryName - return all the components that have a dependency on thespecified shared library. | protected static ComponentState | toFrameworkComponentInfoState(String uiCompState) | protected static ComponentType | toFrameworkComponentInfoType(String uiCompType) | protected static String | toFrameworkServiceAssemblyState(String uiState) converts to deployment service service assembly state. | protected JBIComponentInfo | toUiComponentInfo(ComponentInfo frameworkCompInfo, String targetName) | protected List | toUiComponentInfoList(List frameworkCompList, String targetName) | protected static String | toUiComponentInfoState(ComponentState frameworkCompState) | protected static String | toUiComponentInfoType(ComponentType frameworkCompType) | protected static String | toUiServiceAssemblyState(String frameworkState) | protected static String | toUiServiceUnitState(String frameworkState) | protected void | updateEachServiceUnitInfoStateInServiceAssemblyInfo(ServiceAssemblyInfo saInfo, String targetName) | protected void | updateServiceAssemblyInfoState(ServiceAssemblyInfo saInfo, String targetName) | protected void | updateServiceUnitInfoState(ServiceUnitInfo suInfo, ObjectName deploymentServiceMBean) | protected void | validateUiJBIComponentInfoState(String state) | protected void | validateUiServiceAssemblyInfoState(String state) |
ANY_FRAMEWORK_COMPONENT_STATE | final protected static int ANY_FRAMEWORK_COMPONENT_STATE(Code) | | any framework state
|
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
|
serialVersionUID | final static long serialVersionUID(Code) | | |
AbstractListStateServiceMBeansImpl | public AbstractListStateServiceMBeansImpl(EnvironmentContext anEnvContext)(Code) | | Parameters: anEnvContext - |
componentStartedOnTargetCheck | protected void componentStartedOnTargetCheck(String componentName, String target) throws ManagementRemoteException(Code) | | Check if the component is in the "Started" state on the target. A
JBI Management exception is thrown if the component is not in the started
state.
Parameters: componentName - - component name Parameters: target - - target name, can be standalone or clustered instance, clusteror "server". throws: ManagementRemoteException - if component is not started on target. |
getComponentLifeCycleMBeanObjectName | protected ObjectName getComponentLifeCycleMBeanObjectName(String componentName, String targetName) throws ManagementRemoteException(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: ManagementRemoteException - on error |
getComponentNamesDependentOnServiceAssembly | protected 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 - |
getComponentNamesDependentOnServiceAssembly | protected Collection getComponentNamesDependentOnServiceAssembly(String saId, String targetName)(Code) | | list of component names
list of component names Parameters: saId - service assembly name. Parameters: targetName - |
getComponentNamesDependentOnSharedLibrary | protected 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 - |
getComponentNamesDependentOnSharedLibrary | protected Collection getComponentNamesDependentOnSharedLibrary(String slibName, String targetName)(Code) | | list of component names
list of component names Parameters: slibName - shared library name. Parameters: targetName - |
getComponentNamesDependentOnSharedLibraryAndServiceAssembly | protected 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 | protected 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 - |
getFrameworkComponentInfoList | protected 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 ManagementRemoteException(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.ManagementRemoteException - on error list of component info |
getFrameworkComponentInfoListForSharedLibraries | protected List getFrameworkComponentInfoListForSharedLibraries(String componentName, String targetName) throws ManagementRemoteException(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.ManagementRemoteException - on error list of componentInfo objects |
getFrameworkComponentInfoListForSharedLibraryNames | protected 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 |
getServiceAssemblyInfoList | protected List getServiceAssemblyInfoList(String frameworkState, String componentName, String targetName) throws ManagementRemoteException(Code) | | list of service assembly infos
Parameters: frameworkState - state Parameters: componentName - name Parameters: targetName - throws: com.sun.jbi.ui.common.ManagementRemoteException - on error list of service assembly infos |
getSystemLoggerMBeans | protected 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 | protected List getUiComponentInfoList(ComponentType frameworkCompType, String targetName) throws ManagementRemoteException(Code) | | list of ui component infos
list of ui component infos Parameters: frameworkCompType - type of the component Parameters: targetName - |
isExistingComponent | protected 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 | protected 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 - |
listComponents | protected String listComponents(ComponentType type, String state, String sharedLibraryName, String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code) | | return component info xml text that has service engines or binding
components infos or both which satisfies the options passed to the
method.
Parameters: type - ComponentInfo.BINDING, ENGINE, BINDING_ENGINE . Parameters: state - return all the components that are in the specified state.valid states are JBIComponentInfo.STARTED, STOPPED, INSTALLEDor null for ANY state Parameters: sharedLibraryName - return all the components that have a dependency on thespecified shared library. null value to ignore this option. Parameters: serviceAssemblyName - return all the components that have the specified serviceassembly deployed on them. null value to ignore this option. Parameters: targetName - xml text contain the list of component infos throws: ManagementRemoteException - if error or exception occurs. |
toFrameworkComponentInfoState | protected static ComponentState toFrameworkComponentInfoState(String uiCompState)(Code) | | framework states
state Parameters: uiCompState - state |
toFrameworkComponentInfoType | protected static ComponentType toFrameworkComponentInfoType(String uiCompType)(Code) | | converts type
int type Parameters: uiCompType - type |
toFrameworkServiceAssemblyState | protected static String toFrameworkServiceAssemblyState(String uiState)(Code) | | converts to deployment service service assembly state.
state Parameters: uiState - state |
toUiComponentInfoList | protected List toUiComponentInfoList(List frameworkCompList, String targetName) throws ManagementRemoteException(Code) | | convert to ui component info list
ui component info list Parameters: frameworkCompList - framework component info list |
toUiComponentInfoState | protected static String toUiComponentInfoState(ComponentState frameworkCompState)(Code) | | converts state
state Parameters: frameworkCompState - state |
toUiComponentInfoType | protected static String toUiComponentInfoType(ComponentType frameworkCompType)(Code) | | converts type
type Parameters: frameworkCompType - type |
toUiServiceAssemblyState | protected static String toUiServiceAssemblyState(String frameworkState)(Code) | | converts to ui service assembly state
state Parameters: frameworkState - state |
toUiServiceUnitState | protected 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 ManagementRemoteException(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.ManagementRemoteException - on error |
updateServiceAssemblyInfoState | protected void updateServiceAssemblyInfoState(ServiceAssemblyInfo saInfo, String targetName) throws ManagementRemoteException(Code) | | update state in service assembly info
Parameters: saInfo - service assembly info Parameters: targetName - throws: com.sun.jbi.ui.common.ManagementRemoteException - 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 |
Methods inherited from com.sun.esb.management.base.services.AbstractServiceMBeansImpl | protected void checkForValidTarget(ObjectName objectName, String targetName) throws ManagementRemoteException(Code)(Java Doc) protected void checkForValidTarget(ObjectName objectName, String targetName, boolean useTargetNameFlag) throws ManagementRemoteException(Code)(Java Doc) protected TargetType checkTargetType(String target)(Code)(Java Doc) protected AttributeList constructMBeanAttributes(ObjectName objectName, Properties params) throws ManagementRemoteException(Code)(Java Doc) protected AttributeList constructMBeanAttributes(ObjectName objectName, Map<String /*attributeName*/, Object params) throws ManagementRemoteException(Code)(Java Doc) protected AttributeList constructMBeanAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, Properties params) throws ManagementRemoteException(Code)(Java Doc) protected Exception createManagementException(String bundleKey, String[] args, Exception sourceException)(Code)(Java Doc) protected String createManagementMessage(String taskId, boolean successResult, String msgType, String msgCode, Object[] args)(Code)(Java Doc) protected void domainTargetCheck(String target) throws ManagementRemoteException(Code)(Java Doc) protected Map<String /*instanceName*/, ObjectName[]> findLiveExtensionMBeanObjectNames(String componentName, String extensionName, String targetName) throws ManagementRemoteException(Code)(Java Doc) protected ObjectName getAdminServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc) protected ObjectName getAdminServiceMBeanObjectName(String targetName)(Code)(Java Doc) protected Object getAttributeValue(String targetName, ObjectName objectName, String attributeName) throws ManagementRemoteException(Code)(Java Doc) protected Object getAttributeValue(MBeanServer mbeanServer, ObjectName objectName, String attributeName) throws ManagementRemoteException(Code)(Java Doc) protected Object getAttributeValue(MBeanServerConnection mbeanServer, ObjectName objectName, String attributeName) throws ManagementRemoteException(Code)(Java Doc) protected Object getAttributeValue(ObjectName objectName, String attributeName) throws ManagementRemoteException(Code)(Java Doc) protected Map<String, ObjectName[]> getComponentExtensionMBeanObjectNames(String componentName, String extensionName, String targetName) throws ManagementRemoteException(Code)(Java Doc) protected ObjectName[] getComponentExtensionMBeanObjectNames(String componentName, String extensionName, String targetName, String targetInstanceName) throws ManagementRemoteException(Code)(Java Doc) protected ObjectName getDeploymentServiceMBeanObjectName(String targetName)(Code)(Java Doc) protected static String getEbiJmxDomain()(Code)(Java Doc) protected ObjectName getEbiStatusMBeanObjectName(String componentName, String targetName) throws ManagementRemoteException(Code)(Java Doc) protected static EnvironmentContext getEnvironmentContext()(Code)(Java Doc) protected ObjectName getExtensionMBeanObjectName(String componentName, String targetName) throws ManagementRemoteException(Code)(Java Doc) protected static I18NBundle getI18NBundle()(Code)(Java Doc) protected static I18NBundle getI18NBundle(String packageName)(Code)(Java Doc) protected ObjectName getInstallationServiceMBeanObjectName(String targetName)(Code)(Java Doc) protected Object getMBeanAttribute(ObjectName objectName, String attributeName) throws ManagementRemoteException(Code)(Java Doc) protected Properties getMBeanAttributeValues(MBeanServerConnection connection, ObjectName objectName) throws ManagementRemoteException(Code)(Java Doc) protected Map<String /*attributeName*/, Object getMBeanAttributeValuesAsMap(MBeanServerConnection connection, ObjectName objectName) throws ManagementRemoteException(Code)(Java Doc) protected MBeanServerConnection getMBeanServerConnection(String targetName) throws ManagementRemoteException(Code)(Java Doc) protected PlatformContext getPlatformContext()(Code)(Java Doc) protected String getPlatformContextAdminServerName()(Code)(Java Doc) protected Set<String> getPlatformContextClusterNames()(Code)(Java Doc) protected Set<String> getPlatformContextClusteredServerNames()(Code)(Java Doc) protected String getPlatformContextInstallRoot()(Code)(Java Doc) protected String getPlatformContextInstanceName()(Code)(Java Doc) protected String getPlatformContextInstanceRoot()(Code)(Java Doc) protected String getPlatformContextJmxRmiPort()(Code)(Java Doc) protected MBeanServer getPlatformContextMBeanServer()(Code)(Java Doc) protected Set<String> getPlatformContextServersInCluster(String clusterName)(Code)(Java Doc) protected Set<String> getPlatformContextStandaloneServerNames()(Code)(Java Doc) protected String getPlatformContextTargetName()(Code)(Java Doc) protected String getPlatformContextTargetName(String instanceName)(Code)(Java Doc) protected String getStackTrace(JBIRemoteException exception)(Code)(Java Doc) protected Object invokeMBeanOperation(ObjectName objectName, String operationName, Object[] params, String[] signature) throws ManagementRemoteException(Code)(Java Doc) protected Object invokeMBeanOperation(MBeanServerConnection connection, ObjectName objectName, String operationName, Object[] params, String[] signature) throws ManagementRemoteException(Code)(Java Doc) protected Object invokeMBeanOperation(String targetName, ObjectName objectName, String operationName, Object[] params, String[] signature) throws ManagementRemoteException(Code)(Java Doc) protected Object invokeMBeanOperation(ObjectName objectName, String operationName, String param) throws ManagementRemoteException(Code)(Java Doc) protected Object invokeMBeanOperation(ObjectName objectName, String operationName) throws ManagementRemoteException(Code)(Java Doc) protected boolean isMBeanRegistered(ObjectName objectName) throws ManagementRemoteException(Code)(Java Doc) protected boolean isPlatformContextAdminServer()(Code)(Java Doc) protected boolean isPlatformContextCluster(String targetName)(Code)(Java Doc) protected boolean isPlatformContextClusteredServer(String targetName)(Code)(Java Doc) protected boolean isPlatformContextInstanceClustered(String instanceName)(Code)(Java Doc) protected boolean isPlatformContextInstanceUp(String instanceName)(Code)(Java Doc) protected boolean isPlatformContextStandaloneServer(String targetName)(Code)(Java Doc) protected boolean isPlatformContextValidTarget(String targetName)(Code)(Java Doc) protected boolean isTargetUp(String targetName) throws ManagementRemoteException(Code)(Java Doc) protected boolean isValidTarget(ObjectName objectName) throws ManagementRemoteException(Code)(Java Doc) protected boolean isValidTarget(ObjectName objectName, String targetName) throws ManagementRemoteException(Code)(Java Doc) protected Map<String /*targetName*/, String[] listTargetNames() throws ManagementRemoteException(Code)(Java Doc) protected static void log(String aMsg)(Code)(Java Doc) protected static void logDebug(String aMsg)(Code)(Java Doc) protected static void logDebug(Exception ex)(Code)(Java Doc) protected static void logError(Exception ex)(Code)(Java Doc) public static void logWarning(Exception ex)(Code)(Java Doc) protected boolean platformContextSupportsMultipleServers()(Code)(Java Doc) protected void setAttributeValue(String targetName, ObjectName objectName, String attributeName, Object attributeValue) throws ManagementRemoteException(Code)(Java Doc) protected void setAttributeValue(ObjectName objectName, String attributeName, Object attributeValue) throws ManagementRemoteException(Code)(Java Doc) protected void setAttributeValue(MBeanServerConnection connection, ObjectName objectName, String attributeName, Object attributeValue) throws ManagementRemoteException(Code)(Java Doc) protected void setMBeanAttribute(ObjectName objectName, String attributeName, Object attributeValue) throws ManagementRemoteException(Code)(Java Doc) protected void setMBeanAttributes(ObjectName objectName, AttributeList attrList) throws ManagementRemoteException(Code)(Java Doc) protected AttributeList setMBeanAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, AttributeList attrList) throws ManagementRemoteException(Code)(Java Doc) protected String setMBeanConfigAttributes(ObjectName objectName, AttributeList attrList) throws ManagementRemoteException(Code)(Java Doc) protected String setMBeanConfigAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, AttributeList attrList) throws ManagementRemoteException(Code)(Java Doc)
|
|
|