Java Doc for ChannelFactory.java in  » Net » JGroups-2.4.1-sp3 » org » jgroups » 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 » Net » JGroups 2.4.1 sp3 » org.jgroups 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jgroups.ChannelFactory

All known Subclasses:   org.jgroups.JChannelFactory,
ChannelFactory
public interface ChannelFactory (Code)
A channel factory takes care of creation of channel implementations. Subclasses will create different implementations.




Method Summary
 ChannelcreateChannel(Object props)
    
 ChannelcreateChannel()
    
 ChannelcreateMultiplexerChannel(String stack_name, String id, boolean register_for_state_transfer, String substate_id)
     Creates an implementation of Channel using a guven stack name and registering under a given identity. The latter is used for multiplexing requests to and from a block on top of a channel.
Parameters:
  stack_name - The name of the stack to be used.
 ChannelcreateMultiplexerChannel(String stack_name, String id)
    
 voidsetMultiplexerConfig(Object properties)
     Initializes the factory.
 voidsetMultiplexerConfig(File properties)
     Initializes the factory from a file.
 voidsetMultiplexerConfig(Element properties)
    
 voidsetMultiplexerConfig(URL properties)
    
 voidsetMultiplexerConfig(String properties)
    



Method Detail
createChannel
Channel createChannel(Object props) throws ChannelException(Code)



createChannel
Channel createChannel() throws ChannelException(Code)
Create a new channel with the properties defined in the factory



createMultiplexerChannel
Channel createMultiplexerChannel(String stack_name, String id, boolean register_for_state_transfer, String substate_id) throws Exception(Code)
Creates an implementation of Channel using a guven stack name and registering under a given identity. The latter is used for multiplexing requests to and from a block on top of a channel.
Parameters:
  stack_name - The name of the stack to be used. All stacks are defined in the configurationwith which the factory is configured (see ChannelFactory.setMultiplexerConfig(Object) for example.
Parameters:
  id - The identifier used for multiplexing and demultiplexing (dispatching requests to one of possiblymultiple receivers). Note that id needs to be a string since it will be shipped with each message. Try to picka short string, because this is shipped with every message (overhead). todo: possibly change to short ?
Parameters:
  register_for_state_transfer - If set to true, after all registered listeners called connect() on the returned Channel,the state for all registered listeners will be fetched and set in all listeners
Parameters:
  substate_id - The ID of the substate to be retrieved. Set this to null if the entire state should be retrieved. Ifregister_for_state_transfer is false, substate_id will be ignored An implementation of Channel which keeps track of the id, so that it can be attached to each messageand be properly dispatched at the receiver. This will be a org.jgroups.mux.MuxChannel.
throws:
  ChannelException -



createMultiplexerChannel
Channel createMultiplexerChannel(String stack_name, String id) throws Exception(Code)



setMultiplexerConfig
void setMultiplexerConfig(Object properties) throws Exception(Code)
Initializes the factory.
Parameters:
  properties -
throws:
  ChannelException -



setMultiplexerConfig
void setMultiplexerConfig(File properties) throws Exception(Code)
Initializes the factory from a file. Example: conf/stacks.xml
Parameters:
  properties -
throws:
  ChannelException -



setMultiplexerConfig
void setMultiplexerConfig(Element properties) throws Exception(Code)



setMultiplexerConfig
void setMultiplexerConfig(URL properties) throws Exception(Code)



setMultiplexerConfig
void setMultiplexerConfig(String properties) throws Exception(Code)



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