Java Doc for StartTomcat.java in  » IDE-Netbeans » tomcat5 » org » netbeans » modules » tomcat5 » ide » 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 » IDE Netbeans » tomcat5 » org.netbeans.modules.tomcat5.ide 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.j2ee.deployment.plugins.spi.StartServer
      org.netbeans.modules.tomcat5.ide.StartTomcat

StartTomcat
final public class StartTomcat extends StartServer implements ProgressObject(Code)
Extension to Deployment API that enables starting of Tomcat.
author:
   Radim Kubacki, Pavel Buzek


Field Summary
final public static  StringCATALINA_50_BAT
    
final public static  StringCATALINA_50_SH
    
final public static  StringCATALINA_BAT
    
final public static  StringCATALINA_SH
    
final public static  StringSETCLASSPATH_BAT
    
final public static  StringSETCLASSPATH_SH
    
final public static  StringTAG_CATALINA_BASE
    
final public static  StringTAG_CATALINA_HOME
    
final public static  StringTAG_DEBUG_CMD
    
final public static  StringTAG_EXEC_CMD
     Startup command tag.
final public static  StringTAG_EXEC_SHUTDOWN
    
final public static  StringTAG_EXEC_STARTUP
    
final public static  StringTAG_FORCE_OPT
    
final public static  StringTAG_JPDA
    
final public static  StringTAG_JPDA_STARTUP
    
final public static  StringTAG_SECURITY_OPT
    

Constructor Summary
public  StartTomcat(DeploymentManager manager)
    

Method Summary
public  voidaddProgressListener(ProgressListener pl)
    
public  voidcancel()
    
public  ClientConfigurationgetClientConfiguration(TargetModuleID targetModuleID)
    
public  intgetCurrentServerPort()
    
public  ServerDebugInfogetDebugInfo(Target target)
    
public  DeploymentStatusgetDeploymentStatus()
    
public  TargetModuleID[]getResultTargetModuleIDs()
    
public  booleanisAlsoTargetServer(Target target)
     Returns true if the admin server is also a target server (share the same vm).
public  booleanisCancelSupported()
    
public  booleanisDebuggable(Target target)
     Returns true if this target is in debug mode.
public  booleanisRunning()
     Returns true if this admin server is running.
public  booleanisStopSupported()
    
public  booleanneedsRestart(Target target)
    
public  booleanneedsStartForAdminConfig()
     Returns true if the admin server should be started before admininistrative configuration.
public  booleanneedsStartForConfigure()
     Returns true if the admin server should be started before configure.
public  booleanneedsStartForTargetList()
     Returns true if the admin server should be started before asking for target list.
public  voidremoveProgressListener(ProgressListener pl)
    
public  ProgressObjectstartDebugging(Target target)
     Start or restart the target in debug mode.
public  ProgressObjectstartDeploymentManager()
     Start Tomcat server if the TomcatManager is not connected.
public  ProgressObjectstartProfiling(Target target, ProfilerServerSettings settings)
    
public  ProgressObjectstartServer(Target target)
     This implementation does nothing.
public  voidstop()
    
public  ProgressObjectstopDeploymentManager()
     Stops the admin server.
public  booleansupportsStartDebugging(Target target)
    
public  booleansupportsStartDeploymentManager()
    
public  booleansupportsStartProfiling(Target target)
    
public  StringtoString()
    

Field Detail
CATALINA_50_BAT
final public static String CATALINA_50_BAT(Code)



CATALINA_50_SH
final public static String CATALINA_50_SH(Code)



CATALINA_BAT
final public static String CATALINA_BAT(Code)



CATALINA_SH
final public static String CATALINA_SH(Code)



SETCLASSPATH_BAT
final public static String SETCLASSPATH_BAT(Code)



SETCLASSPATH_SH
final public static String SETCLASSPATH_SH(Code)



TAG_CATALINA_BASE
final public static String TAG_CATALINA_BASE(Code)



TAG_CATALINA_HOME
final public static String TAG_CATALINA_HOME(Code)



TAG_DEBUG_CMD
final public static String TAG_DEBUG_CMD(Code)
Debug startup/shutdown tag



TAG_EXEC_CMD
final public static String TAG_EXEC_CMD(Code)
Startup command tag.



TAG_EXEC_SHUTDOWN
final public static String TAG_EXEC_SHUTDOWN(Code)



TAG_EXEC_STARTUP
final public static String TAG_EXEC_STARTUP(Code)



TAG_FORCE_OPT
final public static String TAG_FORCE_OPT(Code)



TAG_JPDA
final public static String TAG_JPDA(Code)



TAG_JPDA_STARTUP
final public static String TAG_JPDA_STARTUP(Code)



TAG_SECURITY_OPT
final public static String TAG_SECURITY_OPT(Code)




Constructor Detail
StartTomcat
public StartTomcat(DeploymentManager manager)(Code)




Method Detail
addProgressListener
public void addProgressListener(ProgressListener pl)(Code)



cancel
public void cancel() throws OperationUnsupportedException(Code)



getClientConfiguration
public ClientConfiguration getClientConfiguration(TargetModuleID targetModuleID)(Code)



getCurrentServerPort
public int getCurrentServerPort()(Code)



getDebugInfo
public ServerDebugInfo getDebugInfo(Target target)(Code)



getDeploymentStatus
public DeploymentStatus getDeploymentStatus()(Code)



getResultTargetModuleIDs
public TargetModuleID[] getResultTargetModuleIDs()(Code)



isAlsoTargetServer
public boolean isAlsoTargetServer(Target target)(Code)
Returns true if the admin server is also a target server (share the same vm). Start/stopping/debug apply to both servers. true when admin is also target server



isCancelSupported
public boolean isCancelSupported()(Code)



isDebuggable
public boolean isDebuggable(Target target)(Code)
Returns true if this target is in debug mode.



isRunning
public boolean isRunning()(Code)
Returns true if this admin server is running.



isStopSupported
public boolean isStopSupported()(Code)



needsRestart
public boolean needsRestart(Target target)(Code)



needsStartForAdminConfig
public boolean needsStartForAdminConfig()(Code)
Returns true if the admin server should be started before admininistrative configuration.



needsStartForConfigure
public boolean needsStartForConfigure()(Code)
Returns true if the admin server should be started before configure.



needsStartForTargetList
public boolean needsStartForTargetList()(Code)
Returns true if the admin server should be started before asking for target list.



removeProgressListener
public void removeProgressListener(ProgressListener pl)(Code)



startDebugging
public ProgressObject startDebugging(Target target)(Code)
Start or restart the target in debug mode. If target is also domain admin, the amdin is restarted in debug mode. All diagnostic should be communicated through ServerProgres with no exceptions thrown.
Parameters:
  target - the target server ServerProgress object to monitor progress on start operation



startDeploymentManager
public ProgressObject startDeploymentManager()(Code)
Start Tomcat server if the TomcatManager is not connected.



startProfiling
public ProgressObject startProfiling(Target target, ProfilerServerSettings settings)(Code)



startServer
public ProgressObject startServer(Target target)(Code)
This implementation does nothing. Target is already started when Tomcat starts.



stop
public void stop() throws OperationUnsupportedException(Code)



stopDeploymentManager
public ProgressObject stopDeploymentManager()(Code)
Stops the admin server. The DeploymentManager object will be disconnected. All diagnostic should be communicated through ServerProgres with no exceptions thrown. ServerProgress object used to monitor start server progress



supportsStartDebugging
public boolean supportsStartDebugging(Target target)(Code)



supportsStartDeploymentManager
public boolean supportsStartDeploymentManager()(Code)



supportsStartProfiling
public boolean supportsStartProfiling(Target target)(Code)



toString
public String toString()(Code)



Methods inherited from org.netbeans.modules.j2ee.deployment.plugins.spi.StartServer
public boolean canStopDeploymentManagerSilently()(Code)(Java Doc)
abstract public ServerDebugInfo getDebugInfo(Target target)(Code)(Java Doc)
abstract public boolean isAlsoTargetServer(Target target)(Code)(Java Doc)
abstract public boolean isDebuggable(Target target)(Code)(Java Doc)
abstract public boolean isRunning()(Code)(Java Doc)
public boolean isRunning(Target target)(Code)(Java Doc)
public boolean needsRestart(Target target)(Code)(Java Doc)
abstract public boolean needsStartForAdminConfig()(Code)(Java Doc)
abstract public boolean needsStartForConfigure()(Code)(Java Doc)
abstract public boolean needsStartForTargetList()(Code)(Java Doc)
abstract public ProgressObject startDebugging(Target target)(Code)(Java Doc)
abstract public ProgressObject startDeploymentManager()(Code)(Java Doc)
public ProgressObject startProfiling(Target target, ProfilerServerSettings settings)(Code)(Java Doc)
public ProgressObject startTarget(Target target)(Code)(Java Doc)
abstract public ProgressObject stopDeploymentManager()(Code)(Java Doc)
public void stopDeploymentManagerSilently()(Code)(Java Doc)
public ProgressObject stopTarget(Target target)(Code)(Java Doc)
public boolean supportsStartDebugging(Target target)(Code)(Java Doc)
abstract public boolean supportsStartDeploymentManager()(Code)(Java Doc)
public boolean supportsStartProfiling(Target target)(Code)(Java Doc)
public boolean supportsStartTarget(Target target)(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.