org.jacorb.notification.servant
Class ConsumerAdminImpl
java.lang.Object
org.jacorb.notification.servant.AbstractAdmin
org.jacorb.notification.servant.ConsumerAdminImpl
- All Implemented Interfaces:
- ConsumerAdminOperations, ConsumerAdminOperations, org.picocontainer.Disposable, Disposable, FilterAdminOperations, FilterStage, FilterStageSource, ManageableServant, NotifySubscribeOperations, ProxyEventListener, QoSAdminOperations
- Direct Known Subclasses:
- TypedConsumerAdminImpl
- public class ConsumerAdminImpl
- extends AbstractAdmin
- implements ConsumerAdminOperations, Disposable, ProxyEventListener
- Version:
- $Id: ConsumerAdminImpl.java,v 1.5 2005/04/10 14:25:56 alphonse.bendt Exp $
- Author:
- Alphonse Bendt
Methods inherited from class org.jacorb.notification.servant.AbstractAdmin |
_default_POA, add_filter, addDisposeHook, addProxyEventListener, addProxyToMap, configureInterFilterGroupOperator, configureQoS, deactivate, destroy, dispose, fireCreateProxyRequestEvent, get_all_filters, get_all_notify_proxies, get_filter, get_qos, getFilters, getID, getLifetimeFilter, getMessageFactory, getORB, getPOA, getPriorityFilter, getProxies, getProxy, hasInterFilterGroupOperatorOR, hasLifetimeFilter, hasPriorityFilter, isDisposed, MyChannel, MyID, MyOperator, newComponentAdapter, newContainerForEventStyleProxy, newContainerForNotifyStyleProxy, newContainerForTypedProxy, remove_all_filters, remove_filter, removeProxyEventListener, set_qos, setInterFilterGroupOperator, validate_qos |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.picocontainer.Disposable |
dispose |
thisServant_
protected final Servant thisServant_
ConsumerAdminImpl
public ConsumerAdminImpl(IEventChannel channelServant,
ORB orb,
POA poa,
org.apache.avalon.framework.configuration.Configuration config,
MessageFactory messageFactory,
OfferManager offerManager,
SubscriptionManager subscriptionManager)
createServant
protected Servant createServant()
getServant
public final Servant getServant()
- Specified by:
getServant
in class AbstractAdmin
activate
public Object activate()
- Specified by:
activate
in interface ManageableServant
subscription_change
public void subscription_change(EventType[] added,
EventType[] removed)
throws InvalidEventType
- Specified by:
subscription_change
in interface NotifySubscribeOperations
- Throws:
InvalidEventType
get_proxy_supplier
public ProxySupplier get_proxy_supplier(int key)
throws ProxyNotFound
- Specified by:
get_proxy_supplier
in interface ConsumerAdminOperations
- Throws:
ProxyNotFound
lifetime_filter
public void lifetime_filter(MappingFilter lifetimeFilter)
- Specified by:
lifetime_filter
in interface ConsumerAdminOperations
lifetime_filter
public MappingFilter lifetime_filter()
- Specified by:
lifetime_filter
in interface ConsumerAdminOperations
priority_filter
public MappingFilter priority_filter()
- Specified by:
priority_filter
in interface ConsumerAdminOperations
priority_filter
public void priority_filter(MappingFilter priorityFilter)
- Specified by:
priority_filter
in interface ConsumerAdminOperations
obtain_notification_pull_supplier
public ProxySupplier obtain_notification_pull_supplier(ClientType clientType,
IntHolder intHolder)
throws AdminLimitExceeded
- Specified by:
obtain_notification_pull_supplier
in interface ConsumerAdminOperations
- Throws:
AdminLimitExceeded
configureMappingFilters
protected void configureMappingFilters(AbstractProxySupplier servant)
pull_suppliers
public int[] pull_suppliers()
- Specified by:
pull_suppliers
in interface ConsumerAdminOperations
push_suppliers
public int[] push_suppliers()
- Specified by:
push_suppliers
in interface ConsumerAdminOperations
obtain_notification_push_supplier
public ProxySupplier obtain_notification_push_supplier(ClientType clientType,
IntHolder intHolder)
throws AdminLimitExceeded
- Specified by:
obtain_notification_push_supplier
in interface ConsumerAdminOperations
- Throws:
AdminLimitExceeded
obtain_pull_supplier
public ProxyPullSupplier obtain_pull_supplier()
- Specified by:
obtain_pull_supplier
in interface ConsumerAdminOperations
obtain_push_supplier
public ProxyPushSupplier obtain_push_supplier()
- get ProxyPushSupplier (EventStyle)
- Specified by:
obtain_push_supplier
in interface ConsumerAdminOperations
getSubsequentFilterStages
public java.util.List getSubsequentFilterStages()
- Specified by:
getSubsequentFilterStages
in interface FilterStageSource
getMessageConsumer
public MessageConsumer getMessageConsumer()
- ConsumerAdmin never has a MessageConsumer
- Specified by:
getMessageConsumer
in interface FilterStage
hasMessageConsumer
public boolean hasMessageConsumer()
- ConsumerAdmin never has a MessageConsumer
- Specified by:
hasMessageConsumer
in interface FilterStage
actionProxyCreationRequest
public void actionProxyCreationRequest(ProxyEvent event)
- Description copied from interface:
ProxyEventListener
- This event is fired if a Admin wants to create a new Proxy. A
Listener may throw AdminLimitExceeded if the creation of more
Proxies exeeds a limit.
- Specified by:
actionProxyCreationRequest
in interface ProxyEventListener
actionProxyDisposed
public void actionProxyDisposed(ProxyEvent event)
- Specified by:
actionProxyDisposed
in interface ProxyEventListener
actionProxyCreated
public void actionProxyCreated(ProxyEvent event)
- Specified by:
actionProxyCreated
in interface ProxyEventListener