| java.lang.Object com.sun.esb.management.base.services.AbstractServiceMBeansImpl com.sun.esb.management.impl.installation.InstallationServiceMBeanImpl
Method Summary | |
protected void | configureComponentInstaller(ObjectName installerObjectName, Properties paramProps) | protected String | getComponentNameFromJmxObjectName(ObjectName jmxObjectName) | public String | installComponent(String zipFilePath, Properties paramProps, String targetName) | public String | installComponent(String zipFilePath, String targetName) | public Map<String, String> | installComponent(String zipFilePath, Properties paramProps, String[] targetNames) | public Map<String, String> | installComponent(String zipFilePath, String[] targetNames) | public String | installComponentFromDomain(String componentName, Properties properties, String targetName) | public String | installComponentFromDomain(String componentName, String targetName) | public Map<String /* targetName */, String | installComponentFromDomain(String componentName, String[] targetNames) | public Map<String /* targetName */, String | installComponentFromDomain(String componentName, Properties properties, String[] targetNames) | public String | installSharedLibrary(String zipFilePath, String targetName) | public Map<String, String> | installSharedLibrary(String zipFilePath, String[] targetNames) | public String | installSharedLibraryFromDomain(String libraryName, String targetName) | public Map<String /* targetName */, String | installSharedLibraryFromDomain(String libraryName, String[] targetNames) | public String | uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String targetName) | public String | uninstallComponent(String componentName, boolean forceDelete, String targetName) | public String | uninstallComponent(String componentName, String targetName) | public Map<String, String> | uninstallComponent(String componentName, String[] targetNames) | public Map<String /* targetName */, String | uninstallComponent(String componentName, boolean forceDelete, String[] targetNames) | public Map<String /* targetName */, String | uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String[] targetNames) | protected String | uninstallComponentInternal(String componentName, boolean force, String targetName) | protected String | uninstallComponentInternal(String componentName, boolean force, boolean retainInDomain, String targetName) | public String | uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String targetName) | public String | uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String targetName) | public String | uninstallSharedLibrary(String sharedLibraryName, String targetName) | public Map<String, String> | uninstallSharedLibrary(String sharedLibraryName, String[] targetNames) | public Map<String /* targetName */, String | uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String[] targetNames) | public Map<String /* targetName */, String | uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String[] targetNames) | protected String | uninstallSharedLibraryInternal(String sharedLibraryName, boolean forceDelete, String targetName) | protected boolean | unloadComponentInstaller(ObjectName installerObjectName, boolean isRemoveComponent, boolean isIgnoreExceptions, String targetName) unloads the installer from memory and removes the component optionally
Parameters: installerObjectName - installerObjectName. Parameters: isIgnoreExceptions - true or false. Parameters: isRemoveComponent - true if this should cleanup disk or false. | protected boolean | unloadComponentInstaller(String componentName, boolean isRemoveComponent, boolean isIgnoreExceptions, String targetName) Unloads the installer from memory and removes the component optionally
Parameters: componentName - componentName. Parameters: isIgnoreExceptions - true or false. Parameters: isRemoveComponent - true if this should cleanup disk or false. | protected boolean | unloadComponentInstallerInternal(String componentName, boolean isRemoveComponent, boolean isIgnoreExceptions, String targetName) Unloads the installer from memory and removes the component optionally
Parameters: componentName - componentName. Parameters: isRemoveComponent - true if this should cleanup disk or false. | public String | upgradeComponent(String componentName, String zipFilePath) |
serialVersionUID | final static long serialVersionUID(Code) | | |
InstallationServiceMBeanImpl | public InstallationServiceMBeanImpl(EnvironmentContext anEnvContext)(Code) | | Constructor - Constructs a new instance of InstallationServiceMBeanImpl
Parameters: anEnvContext - |
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. |
installComponent | public Map<String, String> installComponent(String zipFilePath, String[] targetNames) throws ManagementRemoteException(Code) | | installs component ( service engine, binding component)
name of the component as map of [targetName,string]. Parameters: paramProps - Properties object contains name/value pair. Parameters: zipFilePath - archive file in a zip format Parameters: targetNames - throws: ManagementRemoteException - on error |
installComponentFromDomain | public Map<String /* targetName */, String installComponentFromDomain(String componentName, String[] targetNames) throws ManagementRemoteException(Code) | | installs component from Domain( service engine, binding component)
Parameters: componentName - name of the component Parameters: targetNames - array of targets for this operation Map of targetName and component name strings. throws: ManagementRemoteException - on error |
installComponentFromDomain | public Map<String /* targetName */, String installComponentFromDomain(String componentName, Properties properties, String[] targetNames) throws ManagementRemoteException(Code) | | installs component from Domain( service engine, binding component)
Parameters: componentName - name of the component Parameters: component - configuration properties Parameters: targetNames - array of targets for this operation Map of targetName and component name strings. throws: ManagementRemoteException - on error |
uninstallComponent | public Map<String /* targetName */, String uninstallComponent(String componentName, boolean forceDelete, String[] targetNames) throws ManagementRemoteException(Code) | | uninstalls component ( service engine, binding component)
Parameters: componentName - name of the component Parameters: forceDelete - true to delete, false to not Parameters: targetName - name of the target for this operation Map of targetName and component name strings. throws: ManagementRemoteException - on error |
uninstallComponent | public Map<String /* targetName */, String uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String[] targetNames) throws ManagementRemoteException(Code) | | uninstalls component ( service engine, binding component)
Parameters: componentName - name of the component Parameters: forceDelete - true to delete, false to not Parameters: retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target. Parameters: targetNames - array of targets for this operation Map of targetName and component name strings. throws: ManagementRemoteException - on error |
uninstallComponentInternal | protected String uninstallComponentInternal(String componentName, boolean force, boolean retainInDomain, String targetName) throws ManagementRemoteException(Code) | | uninstalls component ( service engine, binding component)
Parameters: componentName - name of the component Parameters: force - Parameters: retainInDomain - Parameters: targetName - name of the component. throws: ManagementRemoteException - on error |
uninstallSharedLibrary | public Map<String /* targetName */, String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String[] targetNames) throws ManagementRemoteException(Code) | | uninstalls shared library
Parameters: sharedLibraryName - name of the shared library Parameters: forceDelete - true to delete, false to not Parameters: targetName - name of the target for this operation Map of targetName and shared library name strings. throws: ManagementRemoteException - on error |
uninstallSharedLibrary | public Map<String /* targetName */, String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String[] targetNames) throws ManagementRemoteException(Code) | | uninstalls shared library
Parameters: sharedLibraryName - name of the shared library Parameters: forceDelete - true to delete, false to not Parameters: retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target. Parameters: targetNames - array of targets for this operation Map of targetName and shared library name strings. throws: ManagementRemoteException - on error |
uninstallSharedLibraryInternal | protected String uninstallSharedLibraryInternal(String sharedLibraryName, boolean forceDelete, String targetName) throws ManagementRemoteException(Code) | | uninstalls shared library
Parameters: sharedLibraryName - name of the shared library Parameters: forceDelete - true to delete, false to not Parameters: targetName - name of the target for this operation Map of targetName and shared library name strings. throws: ManagementRemoteException - on error |
unloadComponentInstaller | protected boolean unloadComponentInstaller(ObjectName installerObjectName, boolean isRemoveComponent, boolean isIgnoreExceptions, String targetName) throws ManagementRemoteException(Code) | | unloads the installer from memory and removes the component optionally
Parameters: installerObjectName - installerObjectName. Parameters: isIgnoreExceptions - true or false. Parameters: isRemoveComponent - true if this should cleanup disk or false. true is usded inuninstall process Parameters: targetName - true or false throws: ManagementRemoteException - on error |
unloadComponentInstaller | protected boolean unloadComponentInstaller(String componentName, boolean isRemoveComponent, boolean isIgnoreExceptions, String targetName) throws ManagementRemoteException(Code) | | Unloads the installer from memory and removes the component optionally
Parameters: componentName - componentName. Parameters: isIgnoreExceptions - true or false. Parameters: isRemoveComponent - true if this should cleanup disk or false. true is Parameters: targetName - usded in uninstall process true or false throws: ManagementRemoteException - on error. |
unloadComponentInstallerInternal | protected boolean unloadComponentInstallerInternal(String componentName, boolean isRemoveComponent, boolean isIgnoreExceptions, String targetName) throws ManagementRemoteException(Code) | | Unloads the installer from memory and removes the component optionally
Parameters: componentName - componentName. Parameters: isRemoveComponent - true if this should cleanup disk or false. true is Parameters: retainInDomain - true if this should be kept in domain target, false if not Parameters: isIgnoreExceptions - true or false. Parameters: targetName - used in uninstall process true or false throws: ManagementRemoteException - on error. |
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)
|
|
|