Java Doc for DispatchServer.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » server » dispatch » 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 » EJB Server resin 3.1.5 » resin » com.caucho.server.dispatch 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.server.dispatch.DispatchServer

All known Subclasses:   com.caucho.server.port.ProtocolDispatchServer,
DispatchServer
public class DispatchServer implements Dependency(Code)
The dispatch server is responsible for building Invocations, specifically for creating the FilterChain for the invocation.




Method Summary
public  voidaddServerListener(ServerListener listener)
     Adds a listener.
public  InvocationbuildInvocation(Object protocolKey, Invocation invocation)
     Builds the invocation, saving its value keyed by the protocol key.
public  InvocationbuildInvocation(Invocation invocation)
     Builds the invocation.
public  voidclearCache()
     Clears the proxy cache.
public  InvocationcreateInvocation()
     Creates an invocation.
public  InvocationDecodercreateInvocationDecoder()
     Returns the invocation decoder for configuration.
public  voiddestroy()
     Closes the server.
public synchronized  ObjectgetAttribute(String key)
     Returns the named attribute.
public synchronized  IteratorgetAttributeNames()
     Returns an iteration of attribute names.
public  ClassLoadergetClassLoader()
     Gets the class loader.
public  DispatchBuildergetDispatchBuilder()
     Gets the dispatch builder.
final public  InvocationgetInvocation(Object protocolKey)
     Returns the cached invocation.
public  longgetInvocationCacheHitCount()
     Returns the invocation cache hit count.
public  longgetInvocationCacheMissCount()
     Returns the invocation cache hit count.
public  InvocationDecodergetInvocationDecoder()
     Returns the InvocationDecoder.
public  ArrayList<Invocation>getInvocations()
     Returns the invocations.
public  StringgetServerId()
     Gets the server's id.
public  StringgetURLCharacterEncoding()
     Sets URL encoding.
public  voidinit()
     Initializes the server.
protected  voidinvalidateMatchingInvocations(InvocationMatcher matcher)
     Clears matching entries.
public  booleanisDestroyed()
     Returns true if the server is destroyed.
public  booleanisIgnoreClientDisconnect()
     Return true for ignoring client disconnect.
public  booleanisModified()
     Returns true if the server has been modified and needs restarting.
public  booleanlogModified(Logger log)
     Log the reason for modification.
public synchronized  ObjectremoveAttribute(String key)
     Removes the named attribute.
public  voidrestart()
     Closes the server.
public synchronized  ObjectsetAttribute(String key, Object value)
     Sets the named attribute.
public  voidsetDispatchBuilder(DispatchBuilder builder)
     Sets the dispatch builder.
public  voidsetInvocationCacheMaxURLLength(int length)
     Sets the max url length.
public  voidsetInvocationCacheSize(int size)
     Sets the invocation cache size.
public  voidsetServerId(String serverId)
     Gets the server's id.
public  voidupdate()
     Closes the server.



Method Detail
addServerListener
public void addServerListener(ServerListener listener)(Code)
Adds a listener.



buildInvocation
public Invocation buildInvocation(Object protocolKey, Invocation invocation) throws Throwable(Code)
Builds the invocation, saving its value keyed by the protocol key.
Parameters:
  protocolKey - protocol-specific key to save the invocation in
Parameters:
  invocation - the invocation to build.



buildInvocation
public Invocation buildInvocation(Invocation invocation) throws Throwable(Code)
Builds the invocation.



clearCache
public void clearCache()(Code)
Clears the proxy cache.



createInvocation
public Invocation createInvocation()(Code)
Creates an invocation.



createInvocationDecoder
public InvocationDecoder createInvocationDecoder()(Code)
Returns the invocation decoder for configuration.



destroy
public void destroy()(Code)
Closes the server.



getAttribute
public synchronized Object getAttribute(String key)(Code)
Returns the named attribute.
Parameters:
  key - the attribute key the attribute value



getAttributeNames
public synchronized Iterator getAttributeNames()(Code)
Returns an iteration of attribute names. the iteration of names



getClassLoader
public ClassLoader getClassLoader()(Code)
Gets the class loader.



getDispatchBuilder
public DispatchBuilder getDispatchBuilder()(Code)
Gets the dispatch builder.



getInvocation
final public Invocation getInvocation(Object protocolKey)(Code)
Returns the cached invocation.



getInvocationCacheHitCount
public long getInvocationCacheHitCount()(Code)
Returns the invocation cache hit count.



getInvocationCacheMissCount
public long getInvocationCacheMissCount()(Code)
Returns the invocation cache hit count.



getInvocationDecoder
public InvocationDecoder getInvocationDecoder()(Code)
Returns the InvocationDecoder.



getInvocations
public ArrayList<Invocation> getInvocations()(Code)
Returns the invocations.



getServerId
public String getServerId()(Code)
Gets the server's id.



getURLCharacterEncoding
public String getURLCharacterEncoding()(Code)
Sets URL encoding.



init
public void init()(Code)
Initializes the server.



invalidateMatchingInvocations
protected void invalidateMatchingInvocations(InvocationMatcher matcher)(Code)
Clears matching entries.



isDestroyed
public boolean isDestroyed()(Code)
Returns true if the server is destroyed.



isIgnoreClientDisconnect
public boolean isIgnoreClientDisconnect()(Code)
Return true for ignoring client disconnect.



isModified
public boolean isModified()(Code)
Returns true if the server has been modified and needs restarting.



logModified
public boolean logModified(Logger log)(Code)
Log the reason for modification.



removeAttribute
public synchronized Object removeAttribute(String key)(Code)
Removes the named attribute.
Parameters:
  key - the attribute key the old attribute value



restart
public void restart()(Code)
Closes the server.



setAttribute
public synchronized Object setAttribute(String key, Object value)(Code)
Sets the named attribute.
Parameters:
  key - the attribute key
Parameters:
  value - the attribute value the old attribute value



setDispatchBuilder
public void setDispatchBuilder(DispatchBuilder builder)(Code)
Sets the dispatch builder.



setInvocationCacheMaxURLLength
public void setInvocationCacheMaxURLLength(int length)(Code)
Sets the max url length.



setInvocationCacheSize
public void setInvocationCacheSize(int size)(Code)
Sets the invocation cache size.



setServerId
public void setServerId(String serverId)(Code)
Gets the server's id.



update
public void update()(Code)
Closes the server.



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.