Java Doc for EventChannelFactoryImpl.java in  » Collaboration » JacORB » org » jacorb » notification » 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 » Collaboration » JacORB » org.jacorb.notification 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jacorb.notification.AbstractChannelFactory
      org.jacorb.notification.EventChannelFactoryImpl

EventChannelFactoryImpl
public class EventChannelFactoryImpl extends AbstractChannelFactory implements JacORBEventChannelFactoryOperations(Code)
EventChannelFactoryImpl is a implementation of the EventChannelFactory interface which defines operations for creating and managing new Notification Service style event channels. It supports a routine that creates new instances of Notification Service event channels and assigns unique numeric identifiers to them. In addition the EventChannelFactory interface supports a routing, which can return the unique identifiers assigned to all event channels created by a given instance of EventChannelFactory, and another routine which, given the unique identifier of an event channel created by a target EventChannelFactory instance, returns the object reference of that event channel.

author:
   Alphonse Bendt
version:
   $Id: EventChannelFactoryImpl.java,v 1.45 2006/05/23 10:40:35 alphonse.bendt Exp $



Constructor Summary
public  EventChannelFactoryImpl(MutablePicoContainer container, ORB orb)
    

Method Summary
protected  voidchannelCreated(AbstractEventChannel channel)
    
protected  org.omg.CORBA.Objectcreate_abstract_channel(Property[] admin, Property[] qos, IntHolder id)
    
public  EventChannelcreate_channel(Property[] qualitiyOfServiceProperties, Property[] administrativeProperties, IntHolder channelIdentifier)
     The create_channel operation is invoked to create a new instance of the Notification Service style event channel.
public  EventChannelFactorygetEventChannelFactory()
    
protected  StringgetObjectName()
    
public  ServantgetServant()
    
protected  StringgetShortcut()
    
public  int[]get_all_channels()
     The get_all_channels operation returns a sequence of all of the unique numeric identifiers corresponding to Notification Service event channels, which have been created by the target object.
public  EventChannelget_event_channel(int id)
     The get_event_channel operation accepts as input a numeric value that is supposed to be the unique identifier of a Notification Service event channel, which has been created by the target object.
protected  AbstractEventChannelnewEventChannel()
    


Constructor Detail
EventChannelFactoryImpl
public EventChannelFactoryImpl(MutablePicoContainer container, ORB orb) throws UserException(Code)




Method Detail
channelCreated
protected void channelCreated(AbstractEventChannel channel)(Code)



create_abstract_channel
protected org.omg.CORBA.Object create_abstract_channel(Property[] admin, Property[] qos, IntHolder id) throws UnsupportedAdmin, UnsupportedQoS(Code)



create_channel
public EventChannel create_channel(Property[] qualitiyOfServiceProperties, Property[] administrativeProperties, IntHolder channelIdentifier) throws UnsupportedAdmin, UnsupportedQoS(Code)
The create_channel operation is invoked to create a new instance of the Notification Service style event channel. This operation accepts two input parameters. The first input parameter is a list of name-value pairs, which specify the initial QoS property settings for the new channel. The second input parameter is a list of name-value pairs, which specify the initial administrative property settings for the new channel.
If no implementation of the EventChannel Interface exists that can support all of the requested administrative property settings, the UnsupportedAdmin exception is raised This exception contains as data a sequence of data structures, each identifies the name of an administrative property in the input list whose requested setting could not be satisfied, along with an error code and a range of settings for the property which could be satisfied. The meanings of the error codes that might be returned are described in Notification Service Specification Table 2-5 on page 2-46.
If neither of these exceptions is raised, the create_channel operation will return a reference to a new Notification Service style event channel. In addition, the operation assigns to this new event channel a numeric identifier, which is unique among all event channels created by the target object. This numeric identifier is returned as an output parameter.
Parameters:
  qualitiyOfServiceProperties - a list of name-value pairs, which specify the initial QoS property settings forthe new channel
Parameters:
  administrativeProperties - a list of name-value pairs, which specify the initial administrative propertysettings for the new channel
Parameters:
  channelIdentifier - a reference to the new event channel a newly created event channel
exception:
  UnsupportedAdmin - if no implementation supports the requested administrative settings
exception:
  UnsupportedQoS - if no implementation supports the requested QoS settings



getEventChannelFactory
public EventChannelFactory getEventChannelFactory()(Code)



getObjectName
protected String getObjectName()(Code)



getServant
public Servant getServant()(Code)



getShortcut
protected String getShortcut()(Code)



get_all_channels
public int[] get_all_channels()(Code)
The get_all_channels operation returns a sequence of all of the unique numeric identifiers corresponding to Notification Service event channels, which have been created by the target object. an int[] value



get_event_channel
public EventChannel get_event_channel(int id) throws ChannelNotFound(Code)
The get_event_channel operation accepts as input a numeric value that is supposed to be the unique identifier of a Notification Service event channel, which has been created by the target object. If this input value does not correspond to such a unique identifier, the ChannelNotFound exception is raised. Otherwise, the operation returns the object reference of the Notification Service event channel corresponding to the input identifier.
Parameters:
  id - an int the unique identifier of a Notification Service eventchannel an EventChannel corresponding to the input identifier
exception:
  ChannelNotFound - if the input value does not correspond to a Notification Service event channel



newEventChannel
protected AbstractEventChannel newEventChannel()(Code)



Fields inherited from org.jacorb.notification.AbstractChannelFactory
final protected Configuration config_(Code)(Java Doc)
final protected MutablePicoContainer container_(Code)(Java Doc)
final protected Logger logger_(Code)(Java Doc)
final protected org.omg.CORBA.Object thisRef_(Code)(Java Doc)

Methods inherited from org.jacorb.notification.AbstractChannelFactory
public POA _default_POA()(Code)(Java Doc)
public synchronized org.omg.CORBA.Object activate()(Code)(Java Doc)
protected void addToChannels(int id, AbstractEventChannel channel)(Code)(Java Doc)
protected void channelCreated(AbstractEventChannel channel)(Code)(Java Doc)
abstract protected org.omg.CORBA.Object create_abstract_channel(Property[] admin, Property[] qos, IntHolder id) throws UnsupportedAdmin, UnsupportedQoS(Code)(Java Doc)
protected AbstractEventChannel create_channel_servant(IntHolder id, Property[] qosProps, Property[] adminProps) throws UnsupportedAdmin, UnsupportedQoS, ConfigurationException(Code)(Java Doc)
final public void deactivate()(Code)(Java Doc)
public void destroy()(Code)(Java Doc)
public void dispose()(Code)(Java Doc)
protected int[] getAllChannels()(Code)(Java Doc)
protected Iterator getChannelIterator()(Code)(Java Doc)
protected Configuration getConfiguration()(Code)(Java Doc)
public String getCorbaLoc()(Code)(Java Doc)
public String getIOR()(Code)(Java Doc)
protected String getLocalAddress()(Code)(Java Doc)
protected int getLocalPort()(Code)(Java Doc)
protected ORB getORB()(Code)(Java Doc)
abstract protected String getObjectName()(Code)(Java Doc)
abstract protected Servant getServant()(Code)(Java Doc)
abstract protected String getShortcut()(Code)(Java Doc)
protected AbstractEventChannel get_event_channel_servant(int id) throws ChannelNotFound(Code)(Java Doc)
protected MutablePicoContainer newContainerForChannel()(Code)(Java Doc)
abstract protected AbstractEventChannel newEventChannel() throws ConfigurationException(Code)(Java Doc)
public static AbstractChannelFactory newFactory(ORB optionalORB, MutablePicoContainer optionalContainer, Properties props) throws Exception(Code)(Java Doc)
public static AbstractChannelFactory newFactory(Properties props) throws Exception(Code)(Java Doc)
public void registerName(Properties props) throws Exception(Code)(Java Doc)
public synchronized void registerName(String nameId, String nameKind) throws NotFound, CannotProceed, InvalidName, org.omg.CORBA.ORBPackage.InvalidName(Code)(Java Doc)
public void setDestroyMethod(Runnable destroyMethod)(Code)(Java Doc)
public void shutdown(ShutdownCallback cb)(Code)(Java Doc)
public synchronized void unregisterName() throws NotFound, CannotProceed, InvalidName(Code)(Java Doc)
public void writeIOR(String fileName) throws IOException(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.