Java Doc for DeploymentServiceMBeanImpl.java in  » ESB » open-esb » com » sun » esb » management » impl » deployment » 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.esb.management.impl.deployment 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.esb.management.base.services.AbstractServiceMBeansImpl
      com.sun.esb.management.impl.deployment.DeploymentServiceMBeanImpl

DeploymentServiceMBeanImpl
public class DeploymentServiceMBeanImpl extends AbstractServiceMBeansImpl implements DeploymentService,Serializable(Code)
Defines operations for common deployment/undeployment services.
author:
   graj


Field Summary
final static  longserialVersionUID
    

Constructor Summary
public  DeploymentServiceMBeanImpl(EnvironmentContext anEnvContext)
    

Method Summary
public  StringdeployServiceAssembly(String zipFilePath, String targetName)
    
public  Map<String, String>deployServiceAssembly(String zipFilePath, String[] targetNames)
    
public  StringdeployServiceAssemblyFromDomain(String assemblyName, String targetName)
    
public  Map<String /* targetName */, StringdeployServiceAssemblyFromDomain(String assemblyName, String[] targetNames)
    
public  StringundeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, boolean retainInDomain, String targetName)
    
public  StringundeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, String targetName)
    
public  StringundeployServiceAssembly(String serviceAssemblyName, String targetName)
    
public  Map<String, String>undeployServiceAssembly(String serviceAssemblyName, String[] targetNames)
    
public  Map<String /* targetName */, StringundeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, String[] targetNames)
    
public  Map<String /* targetName */, StringundeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, boolean retainInDomain, String[] targetNames)
    
 StringundeployServiceAssemblyInternal(String serviceAssemblyName, boolean force, boolean retainInDomain, String targetName)
    
 StringundeployServiceAssemblyInternal(String serviceAssemblyName, String targetName)
    
 StringvalidateServiceAssembly(String zipFilePath)
    

Field Detail
serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
DeploymentServiceMBeanImpl
public DeploymentServiceMBeanImpl(EnvironmentContext anEnvContext)(Code)
Constructor - Constructs a new instance of DeploymentServiceMBeanImpl
Parameters:
  anEnvContext -




Method Detail
deployServiceAssembly
public String deployServiceAssembly(String zipFilePath, String targetName) throws ManagementRemoteException(Code)
deploys service assembly result as a management message xml text
Parameters:
  zipFilePath - fie path
Parameters:
  targetName -
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.deployment.DeploymentService.deployServiceAssembly(java.lang.Stringjava.lang.String)



deployServiceAssembly
public Map<String, String> deployServiceAssembly(String zipFilePath, String[] targetNames) throws ManagementRemoteException(Code)
deploys service assembly
Parameters:
  zipFilePath - fie path
Parameters:
  targetNames - result as a management message xml text [targetName,xmlString]map
throws:
  ManagementRemoteException - on error



deployServiceAssemblyFromDomain
public String deployServiceAssemblyFromDomain(String assemblyName, String targetName) throws ManagementRemoteException(Code)
deploys service assembly
Parameters:
  assemblyName - service assembly name
Parameters:
  targetName - name of the target for this operation Map of targetName and management message xml text strings.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.deployment.DeploymentService.deployServiceAssemblyFromDomain(java.lang.Stringjava.lang.String)



deployServiceAssemblyFromDomain
public Map<String /* targetName */, String deployServiceAssemblyFromDomain(String assemblyName, String[] targetNames) throws ManagementRemoteException(Code)
deploys service assembly
Parameters:
  assemblyName - name of the service assembly
Parameters:
  targetName - name of the target for this operation Map of targetName and management message xml text strings.
throws:
  ManagementRemoteException - on error



undeployServiceAssembly
public String undeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, boolean retainInDomain, String targetName) throws ManagementRemoteException(Code)
undeploys service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  forceDelete - forces deletion of the assembly if true, false if not
Parameters:
  retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target.
Parameters:
  targetName - name of the target for this operation result as a management message xml text string.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.deployment.DeploymentService.undeployServiceAssembly(java.lang.Stringbooleanbooleanjava.lang.String)



undeployServiceAssembly
public String undeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, String targetName) throws ManagementRemoteException(Code)
Undeploys service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  forceDelete - forces deletion of the assembly if true, false if not
Parameters:
  targetName - name of the target for this operation Map of targetName and result as a management message xml textstrings.
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.deployment.DeploymentService.undeployServiceAssembly(java.lang.Stringbooleanjava.lang.String)



undeployServiceAssembly
public String undeployServiceAssembly(String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code)
Undeploys service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  targetName - result as a management message xml text
throws:
  ManagementRemoteException - on error
See Also:   com.sun.esb.management.api.deployment.DeploymentService.undeployServiceAssembly(java.lang.Stringjava.lang.String)



undeployServiceAssembly
public Map<String, String> undeployServiceAssembly(String serviceAssemblyName, String[] targetNames) throws ManagementRemoteException(Code)
undeploys service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  targetNames - result as a management message xml text as [targetName, string]map
throws:
  ManagementRemoteException - on error



undeployServiceAssembly
public Map<String /* targetName */, String undeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, String[] targetNames) throws ManagementRemoteException(Code)
undeploys service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  forceDelete - true to delete, false to not
Parameters:
  targetName - name of the target for this operation Map of targetName and result as a management message xml textstrings.
throws:
  ManagementRemoteException - on error



undeployServiceAssembly
public Map<String /* targetName */, String undeployServiceAssembly(String serviceAssemblyName, boolean forceDelete, boolean retainInDomain, String[] targetNames) throws ManagementRemoteException(Code)
undeploys service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  forceDelete - forces deletion of the assembly if true, false if 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 result as a management message xml textstrings.
throws:
  ManagementRemoteException - on error



undeployServiceAssemblyInternal
String undeployServiceAssemblyInternal(String serviceAssemblyName, boolean force, boolean retainInDomain, String targetName) throws ManagementRemoteException(Code)
undeploys service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  force -
Parameters:
  retainInDomain -
Parameters:
  targetName -
throws:
  JBIRemoteException - on error result as a management message xml text
See Also:   com.sun.jbi.ui.common.JBIAdminCommands.undeployServiceAssembly(java.lang.Stringjava.lang.String)



undeployServiceAssemblyInternal
String undeployServiceAssemblyInternal(String serviceAssemblyName, String targetName) throws ManagementRemoteException(Code)
undeploys service assembly
Parameters:
  serviceAssemblyName - name of the service assembly
Parameters:
  targetName -
throws:
  JBIRemoteException - on error result as a management message xml text
See Also:   com.sun.jbi.ui.common.JBIAdminCommands.undeployServiceAssembly(java.lang.Stringjava.lang.String)



validateServiceAssembly
String validateServiceAssembly(String zipFilePath)(Code)
Retrieve the Service Assembly Name
Parameters:
  zipFilePath - the name of the Service Assembly or null



Fields inherited from com.sun.esb.management.base.services.AbstractServiceMBeansImpl
final protected static String COLON(Code)(Java Doc)
final protected static String COMMA(Code)(Java Doc)
final protected static String COMPONENT_CONFIG_INSTANCE_ERROR_KEY(Code)(Java Doc)
final protected static String CUSTOM_ADMINISTRATION_NAME_KEY(Code)(Java Doc)
final protected static String CUSTOM_CONFIGURATION_NAME_KEY(Code)(Java Doc)
final protected static String CUSTOM_LOGGER_NAME_KEY(Code)(Java Doc)
final protected static String CUSTOM_MANAGEMENT_ACTIONS_NAME_KEY(Code)(Java Doc)
final protected static String CUSTOM_STATISTICS_NAME_KEY(Code)(Java Doc)
final protected static String DOMAIN_TARGET_KEY(Code)(Java Doc)
protected static String EBIJMXDOMAIN(Code)(Java Doc)
final protected static String EQUAL(Code)(Java Doc)
final protected static String IDENTIFICATION_NAME_KEY(Code)(Java Doc)
final protected static String JMX_EBI_DOMAIN(Code)(Java Doc)
final protected static char PASSWORD_MASK_CHARACTER(Code)(Java Doc)
final protected static String RUNNING_STATE(Code)(Java Doc)
final protected static String SERVER_TARGET_KEY(Code)(Java Doc)
final protected static String SERVICE_TYPE_KEY(Code)(Java Doc)
final protected static String STARTED_STATE(Code)(Java Doc)
protected ComponentConfigurationHelper componentConfigurationHelper(Code)(Java Doc)
protected EnvironmentContext environmentContext(Code)(Java Doc)

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)

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.