|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacorb.notification.servant.AbstractAdmin
public abstract class AbstractAdmin
Abstract Baseclass for Adminobjects.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jacorb.notification.interfaces.JMXManageable |
|---|
JMXManageable.JMXCallback |
| Field Summary | |
|---|---|
protected org.picocontainer.MutablePicoContainer |
container_
|
protected static org.omg.CosNotifyChannelAdmin.InterFilterGroupOperator |
DEFAULT_FILTER_GROUP_OPERATOR
the default InterFilterGroupOperator used. |
protected org.slf4j.Logger |
logger_
|
protected Object |
modifyProxiesLock_
|
protected OfferManager |
offerManager_
|
protected Map |
pullServants_
|
protected Map |
pushServants_
|
protected ServantLifecyleControl |
servantLifecycle_
|
protected SubscriptionManager |
subscriptionManager_
|
| Constructor Summary | |
|---|---|
protected |
AbstractAdmin(IEventChannel channel,
ORB orb,
POA poa,
org.jacorb.config.Configuration config,
MessageFactory messageFactory,
OfferManager offerManager,
SubscriptionManager subscriptionManager)
|
| Method Summary | |
|---|---|
Object |
activate()
|
int |
add_filter(org.omg.CosNotifyFilter.Filter aFilter)
|
void |
addProxyEventListener(ProxyEventListener l)
|
protected void |
addProxyToMap(AbstractProxy proxy,
Map map,
Object lock)
|
protected void |
configureInterFilterGroupOperator(AbstractProxy proxy)
configure the InterFilterGroupOperator a proxy should use. |
protected void |
configureQoS(AbstractProxy proxy)
configure initial QoS Settings for a proxy. |
void |
deactivate()
|
void |
destroy()
|
void |
dispose()
|
protected void |
fireCreateProxyRequestEvent()
|
int[] |
get_all_filters()
|
protected int[] |
get_all_notify_proxies(Map map,
Object lock)
return the ID's for all NotifyStyle proxies stored in the provided Map. |
org.omg.CosNotifyFilter.Filter |
get_filter(int aFilterId)
|
org.omg.CosNotification.Property[] |
get_qos()
|
int |
getChannelID()
|
List |
getFilters()
get Filters associated to this FilterStage. |
Integer |
getID()
|
String |
getInterFilterGroupOperator()
|
String[] |
getJMXNotificationTypes()
|
String |
getJMXObjectName()
|
org.omg.CosNotifyFilter.MappingFilter |
getLifetimeFilter()
admin does not have a lifetime filter |
String |
getMBeanName()
|
protected abstract String |
getMBeanType()
|
protected MessageFactory |
getMessageFactory()
|
protected ORB |
getORB()
|
POA |
getPOA()
|
org.omg.CosNotifyFilter.MappingFilter |
getPriorityFilter()
admin does not have a priority filter |
protected AbstractProxy |
getProxy(int id)
fetch the proxy specified by the provided id. |
boolean |
hasInterFilterGroupOperatorOR()
check if this FilterStage has OR Semantic enabled. |
boolean |
hasLifetimeFilter()
admin does never have a lifetime filter |
boolean |
hasPriorityFilter()
admin does never have a priority filter |
boolean |
isDestroyed()
check if this FilterStage has been disposed. |
org.omg.CosNotifyChannelAdmin.EventChannel |
MyChannel()
|
int |
MyID()
|
org.omg.CosNotifyChannelAdmin.InterFilterGroupOperator |
MyOperator()
|
protected org.picocontainer.MutablePicoContainer |
newContainerForEventStyleProxy()
|
protected org.picocontainer.MutablePicoContainer |
newContainerForNotifyStyleProxy()
|
protected org.picocontainer.MutablePicoContainer |
newContainerForTypedProxy(String supportedInterface)
|
void |
registerDisposable(Disposable disposable)
the hooks registered by this method will be run when dispose is called. |
void |
remove_all_filters()
|
void |
remove_filter(int aFilterId)
|
void |
removeProxyEventListener(ProxyEventListener listener)
|
protected void |
sendNotification(String type,
String message)
|
void |
set_qos(org.omg.CosNotification.Property[] props)
|
void |
setInterFilterGroupOperator(org.omg.CosNotifyChannelAdmin.InterFilterGroupOperator operator)
|
void |
setJMXCallback(JMXManageable.JMXCallback callback)
|
void |
validate_qos(org.omg.CosNotification.Property[] props,
org.omg.CosNotification.NamedPropertyRangeSeqHolder propertyRangeSeqHolder)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jacorb.notification.interfaces.FilterStage |
|---|
getMessageConsumer, hasMessageConsumer |
| Methods inherited from interface org.jacorb.notification.interfaces.FilterStageSource |
|---|
getSubsequentFilterStages |
| Methods inherited from interface org.jacorb.notification.lifecycle.IServantLifecyle |
|---|
newServant |
| Field Detail |
|---|
protected static final org.omg.CosNotifyChannelAdmin.InterFilterGroupOperator DEFAULT_FILTER_GROUP_OPERATOR
protected final org.picocontainer.MutablePicoContainer container_
protected final OfferManager offerManager_
protected final SubscriptionManager subscriptionManager_
protected final org.slf4j.Logger logger_
protected final Object modifyProxiesLock_
protected final Map pullServants_
protected final Map pushServants_
protected final ServantLifecyleControl servantLifecycle_
| Constructor Detail |
|---|
protected AbstractAdmin(IEventChannel channel,
ORB orb,
POA poa,
org.jacorb.config.Configuration config,
MessageFactory messageFactory,
OfferManager offerManager,
SubscriptionManager subscriptionManager)
| Method Detail |
|---|
public final void registerDisposable(Disposable disposable)
NotifyingDisposable
registerDisposable in interface NotifyingDisposablepublic void setInterFilterGroupOperator(org.omg.CosNotifyChannelAdmin.InterFilterGroupOperator operator)
public final POA getPOA()
getPOA in interface IServantLifecyleprotected ORB getORB()
protected MessageFactory getMessageFactory()
public List getFilters()
FilterStage
getFilters in interface FilterStagepublic int add_filter(org.omg.CosNotifyFilter.Filter aFilter)
add_filter in interface org.omg.CosNotifyFilter.FilterAdminOperations
public void remove_filter(int aFilterId)
throws org.omg.CosNotifyFilter.FilterNotFound
remove_filter in interface org.omg.CosNotifyFilter.FilterAdminOperationsorg.omg.CosNotifyFilter.FilterNotFound
public org.omg.CosNotifyFilter.Filter get_filter(int aFilterId)
throws org.omg.CosNotifyFilter.FilterNotFound
get_filter in interface org.omg.CosNotifyFilter.FilterAdminOperationsorg.omg.CosNotifyFilter.FilterNotFoundpublic int[] get_all_filters()
get_all_filters in interface org.omg.CosNotifyFilter.FilterAdminOperationspublic void remove_all_filters()
remove_all_filters in interface org.omg.CosNotifyFilter.FilterAdminOperationspublic final org.omg.CosNotifyChannelAdmin.InterFilterGroupOperator MyOperator()
public final org.omg.CosNotifyChannelAdmin.EventChannel MyChannel()
public final int MyID()
public final int getChannelID()
public org.omg.CosNotification.Property[] get_qos()
get_qos in interface org.omg.CosNotification.QoSAdminOperations
public void set_qos(org.omg.CosNotification.Property[] props)
throws org.omg.CosNotification.UnsupportedQoS
set_qos in interface org.omg.CosNotification.QoSAdminOperationsorg.omg.CosNotification.UnsupportedQoS
public void validate_qos(org.omg.CosNotification.Property[] props,
org.omg.CosNotification.NamedPropertyRangeSeqHolder propertyRangeSeqHolder)
throws org.omg.CosNotification.UnsupportedQoS
validate_qos in interface org.omg.CosNotification.QoSAdminOperationsorg.omg.CosNotification.UnsupportedQoSpublic final void destroy()
public void dispose()
dispose in interface org.picocontainer.Disposablepublic final Object activate()
public final void deactivate()
public Integer getID()
public boolean isDestroyed()
FilterStage
isDestroyed in interface FilterStage
protected void fireCreateProxyRequestEvent()
throws org.omg.CosNotifyChannelAdmin.AdminLimitExceeded
org.omg.CosNotifyChannelAdmin.AdminLimitExceededpublic boolean hasLifetimeFilter()
hasLifetimeFilter in interface FilterStagepublic boolean hasPriorityFilter()
hasPriorityFilter in interface FilterStagepublic org.omg.CosNotifyFilter.MappingFilter getLifetimeFilter()
getLifetimeFilter in interface FilterStagepublic org.omg.CosNotifyFilter.MappingFilter getPriorityFilter()
getPriorityFilter in interface FilterStagepublic String getInterFilterGroupOperator()
public boolean hasInterFilterGroupOperatorOR()
FilterStage
hasInterFilterGroupOperatorOR in interface FilterStage
protected AbstractProxy getProxy(int id)
throws org.omg.CosNotifyChannelAdmin.ProxyNotFound
org.omg.CosNotifyChannelAdmin.ProxyNotFound
protected int[] get_all_notify_proxies(Map map,
Object lock)
protected void configureQoS(AbstractProxy proxy)
throws org.omg.CosNotification.UnsupportedQoS
org.omg.CosNotification.UnsupportedQoSprotected void configureInterFilterGroupOperator(AbstractProxy proxy)
public void addProxyEventListener(ProxyEventListener l)
public void removeProxyEventListener(ProxyEventListener listener)
protected void addProxyToMap(AbstractProxy proxy,
Map map,
Object lock)
protected org.picocontainer.MutablePicoContainer newContainerForNotifyStyleProxy()
protected org.picocontainer.MutablePicoContainer newContainerForEventStyleProxy()
protected org.picocontainer.MutablePicoContainer newContainerForTypedProxy(String supportedInterface)
public final String getJMXObjectName()
getJMXObjectName in interface JMXManageablepublic final String getMBeanName()
protected abstract String getMBeanType()
public String[] getJMXNotificationTypes()
getJMXNotificationTypes in interface JMXManageablepublic final void setJMXCallback(JMXManageable.JMXCallback callback)
setJMXCallback in interface JMXManageable
protected final void sendNotification(String type,
String message)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||