Java Doc for ServerHandler.java in  » Web-Server » Jigsaw » org » w3c » jigsaw » daemon » 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 » Web Server » Jigsaw » org.w3c.jigsaw.daemon 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.w3c.jigsaw.daemon.ServerHandler

ServerHandler
public interface ServerHandler (Code)
A ServerHandler is a class that handles an accepting socket.




Method Summary
public  ServerHandlerclone(ServerHandlerManager shm, String identifier, ObservableProperties props)
     Clone this server handler, and custmozie it with the given properties.

Once cloned, the new server is assumed to be running happily, as if it had been initialized.
Parameters:
  shm - The global server handler manager.
Parameters:
  identifier - The new ServerHandler identifier.
Parameters:
  props - The properties that overide part of the configuration ofthe cloned server.

public  voiderrlog(String msg)
     Log an error into this server's error log.
public  ResourceReferencegetConfigResource()
     Get the root, configuration resource for that server.
public  StringgetIdentifier()
     Get this server identifier.
public  InetAddressgetInetAddress()
     Get the network addresses on which this server is listening.
public  voidinitialize(ServerHandlerManager shm, String id, ObservableProperties props)
     Initialize the server from the given set of properties.
public  voidlog(String msg)
     Log a normal message into this server's log.
public  voidshutdown()
     Shutdown this server handler.
public  voidstart()
     Start the server, after everything has been initialized.
public  voidtrace(String msg)
     Emit a debugging trace on behalf of this server.



Method Detail
clone
public ServerHandler clone(ServerHandlerManager shm, String identifier, ObservableProperties props) throws ServerHandlerInitException(Code)
Clone this server handler, and custmozie it with the given properties.

Once cloned, the new server is assumed to be running happily, as if it had been initialized.
Parameters:
  shm - The global server handler manager.
Parameters:
  identifier - The new ServerHandler identifier.
Parameters:
  props - The properties that overide part of the configuration ofthe cloned server. A newly created server, sharing the configurationof the cloned server, except for the config options defined bythe given property set.
exception:
  ServerHandlerInitException - if initialization failed.




errlog
public void errlog(String msg)(Code)
Log an error into this server's error log.
Parameters:
  msg - The message to log.



getConfigResource
public ResourceReference getConfigResource()(Code)
Get the root, configuration resource for that server. A ContainerResource instance.



getIdentifier
public String getIdentifier()(Code)
Get this server identifier. A String identifying this server context.



getInetAddress
public InetAddress getInetAddress()(Code)
Get the network addresses on which this server is listening. The InetAddress this server is listening to.



initialize
public void initialize(ServerHandlerManager shm, String id, ObservableProperties props) throws ServerHandlerInitException(Code)
Initialize the server from the given set of properties. This method is called by the ServerManager instance, when launching the appropriate servers.

A Server instance that has initialize itself successfully is considered to be running.
Parameters:
  shm - The global server handler manager.
Parameters:
  identifier - A String identifying the server.
Parameters:
  props - The property set this server should use to initializeitself.
exception:
  ServerHandlerInitException - if initialization failed.




log
public void log(String msg)(Code)
Log a normal message into this server's log.
Parameters:
  msg - The message to log.



shutdown
public void shutdown()(Code)
Shutdown this server handler. This is a synchronous method, that will return only once the server has been shutdown entirely (all the resources it uses have been released).

This server handler clones are considered shutdown too.




start
public void start() throws ServerHandlerInitException(Code)
Start the server, after everything has been initialized. itself.
exception:
  ServerHandlerInitException - if initialization failed.



trace
public void trace(String msg)(Code)
Emit a debugging trace on behalf of this server.
Parameters:
  msg - The trace to emit.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.