org.jacorb.notification

Class EventChannelImpl

public class EventChannelImpl extends AbstractEventChannel implements EventChannelOperations, EventChannelImplMBean

Version: $Id: EventChannelImpl.java,v 1.35 2006/05/23 10:40:35 alphonse.bendt Exp $

Author: Alphonse Bendt

UNKNOWN: name="EventChannelMBean" description="Control an EventChannel" extends = "AbstractEventChannelMBean"

Constructor Summary
EventChannelImpl(IFactory factory, ORB orb, POA poa, Configuration config, FilterFactory filterFactory, EventChannelFactory factoryRef)
Method Summary
ConsumerAdmindefault_consumer_admin()
The default_consumer_admin attribute is a readonly attribute that maintains a reference to the default ConsumerAdmin instance associated with the target EventChannel instance.
SupplierAdmindefault_supplier_admin()
The default_supplier_admin attribute is a readonly attribute that maintains a reference to the default SupplierAdmin instance associated with the target EventChannel instance.
ConsumerAdminfor_consumers()
Return the consumerAdmin interface (event style)
SupplierAdminfor_suppliers()
Return the supplierAdmin interface (event style)
StringgetIOR()
StringgetMBeanType()
ConsumerAdminget_consumeradmin(int identifier)
SupplierAdminget_supplieradmin(int identifier)
EventChannelFactoryMyFactory()
The MyFactory attribute is a readonly attribute that maintains the object reference of the event channel factory, which created a given Notification Service EventChannel instance.
protected AbstractAdminnewConsumerAdmin(int id)
ServantnewServant()
protected AbstractSupplierAdminnewSupplierAdmin(int id)
ConsumerAdminnew_for_consumers(InterFilterGroupOperator filterGroupOperator, IntHolder intHolder)
The new_for_consumers operation is invoked to create a new Notification Service style ConsumerAdmin instance.
SupplierAdminnew_for_suppliers(InterFilterGroupOperator filterGroupOperator, IntHolder intHolder)

Constructor Detail

EventChannelImpl

public EventChannelImpl(IFactory factory, ORB orb, POA poa, Configuration config, FilterFactory filterFactory, EventChannelFactory factoryRef)

Method Detail

default_consumer_admin

public ConsumerAdmin default_consumer_admin()
The default_consumer_admin attribute is a readonly attribute that maintains a reference to the default ConsumerAdmin instance associated with the target EventChannel instance. Each EventChannel instance has an associated default ConsumerAdmin instance, which exists upon creation of the channel and is assigned the unique identifier of zero. Subsequently, clients can create additional Event Service style ConsumerAdmin instances by invoking the inherited operation, and additional Notification Service style ConsumerAdmin instances by invoking the new_for_consumers operation defined by the EventChannel interface.

default_supplier_admin

public SupplierAdmin default_supplier_admin()
The default_supplier_admin attribute is a readonly attribute that maintains a reference to the default SupplierAdmin instance associated with the target EventChannel instance. Each EventChannel instance has an associated default SupplierAdmin instance, which exists upon creation of the channel and is assigned the unique identifier of zero. Subsequently, clients can create additional Event Service style SupplierAdmin instances by invoking the inherited for_suppliers operation, and additional Notification Service style SupplierAdmin instances by invoking the new_for_suppliers operation defined by the EventChannel interface.

for_consumers

public ConsumerAdmin for_consumers()
Return the consumerAdmin interface (event style)

for_suppliers

public SupplierAdmin for_suppliers()
Return the supplierAdmin interface (event style)

getIOR

public String getIOR()

UNKNOWN: access = "read-only" currencyTimeLimit = "2147483647"

getMBeanType

public String getMBeanType()

get_consumeradmin

public ConsumerAdmin get_consumeradmin(int identifier)

get_supplieradmin

public SupplierAdmin get_supplieradmin(int identifier)

MyFactory

public EventChannelFactory MyFactory()
The MyFactory attribute is a readonly attribute that maintains the object reference of the event channel factory, which created a given Notification Service EventChannel instance.

newConsumerAdmin

protected AbstractAdmin newConsumerAdmin(int id)

newServant

public Servant newServant()

newSupplierAdmin

protected AbstractSupplierAdmin newSupplierAdmin(int id)

new_for_consumers

public ConsumerAdmin new_for_consumers(InterFilterGroupOperator filterGroupOperator, IntHolder intHolder)
The new_for_consumers operation is invoked to create a new Notification Service style ConsumerAdmin instance. The operation accepts as an input parameter a boolean flag, which indicates whether AND or OR semantics will be used when combining the filter objects associated with the newly created ConsumerAdmin instance with those associated with a supplier proxy, which was created by the ConsumerAdmin during the evaluation of each event against a set of filter objects. The new instance is assigned a unique identifier by the target EventChannel instance that is unique among all ConsumerAdmin instances currently associated with the channel. Upon completion, the operation returns the reference to the new ConsumerAdmin instance as the result of the operation, and the unique identifier assigned to the new ConsumerAdmin instance as the output parameter.

new_for_suppliers

public SupplierAdmin new_for_suppliers(InterFilterGroupOperator filterGroupOperator, IntHolder intHolder)