public abstract class AbstractChannelFactory extends Object implements ManageableServant, Disposable
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
config_ |
protected MutablePicoContainer |
container_ |
protected org.slf4j.Logger |
logger_ |
protected Object |
thisRef_ |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractChannelFactory(MutablePicoContainer container,
ORB orb) |
protected final MutablePicoContainer container_
protected final Configuration config_
protected final Object thisRef_
protected final org.slf4j.Logger logger_
protected AbstractChannelFactory(MutablePicoContainer container,
ORB orb)
throws UserException
UserExceptionprotected abstract AbstractEventChannel newEventChannel() throws ConfigurationException
ConfigurationExceptionprotected abstract Object create_abstract_channel(Property[] admin, Property[] qos, IntHolder id) throws UnsupportedAdmin, UnsupportedQoS
UnsupportedAdminUnsupportedQoSprotected abstract String getObjectName()
protected abstract String getShortcut()
protected abstract Servant getServant()
protected int getLocalPort()
protected String getLocalAddress()
public Object activate()
activate in interface ManageableServantpublic void setDestroyMethod(Runnable destroyMethod)
protected ORB getORB()
public final void deactivate()
deactivate in interface ManageableServantprotected Configuration getConfiguration()
public void dispose()
protected void addToChannels(int id,
AbstractEventChannel channel)
protected int[] getAllChannels()
protected AbstractEventChannel get_event_channel_servant(int id) throws ChannelNotFound
ChannelNotFoundprotected Iterator getChannelIterator()
protected AbstractEventChannel create_channel_servant(IntHolder id, Property[] qosProps, Property[] adminProps) throws UnsupportedAdmin, UnsupportedQoS, ConfigurationException
protected void channelCreated(AbstractEventChannel channel)
public void destroy()
public void shutdown(org.jacorb.notification.AbstractChannelFactory.ShutdownCallback cb)
public String getIOR()
public String getCorbaLoc()
public static AbstractChannelFactory newFactory(ORB optionalORB, MutablePicoContainer optionalContainer, Properties props) throws Exception
Exceptionpublic static AbstractChannelFactory newFactory(Properties props) throws Exception
Exceptionpublic void registerName(Properties props) throws Exception
Exceptionpublic void registerName(String nameId, String nameKind) throws NotFound, CannotProceed, InvalidName, InvalidName
NotFoundCannotProceedInvalidNamepublic void unregisterName()
throws NotFound,
CannotProceed,
InvalidName
NotFoundCannotProceedInvalidNamepublic void writeIOR(String fileName) throws IOException
IOExceptionpublic POA _default_POA()
protected MutablePicoContainer newContainerForChannel()
Copyright © 2017 JacORB. All rights reserved.