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
UserException
protected abstract AbstractEventChannel newEventChannel() throws ConfigurationException
ConfigurationException
protected abstract Object create_abstract_channel(Property[] admin, Property[] qos, IntHolder id) throws UnsupportedAdmin, UnsupportedQoS
UnsupportedAdmin
UnsupportedQoS
protected abstract String getObjectName()
protected abstract String getShortcut()
protected abstract Servant getServant()
protected int getLocalPort()
protected String getLocalAddress()
public Object activate()
activate
in interface ManageableServant
public void setDestroyMethod(Runnable destroyMethod)
protected ORB getORB()
public final void deactivate()
deactivate
in interface ManageableServant
protected 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
ChannelNotFound
protected 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
Exception
public static AbstractChannelFactory newFactory(Properties props) throws Exception
Exception
public void registerName(Properties props) throws Exception
Exception
public void registerName(String nameId, String nameKind) throws NotFound, CannotProceed, InvalidName, InvalidName
NotFound
CannotProceed
InvalidName
public void unregisterName() throws NotFound, CannotProceed, InvalidName
NotFound
CannotProceed
InvalidName
public void writeIOR(String fileName) throws IOException
IOException
public POA _default_POA()
protected MutablePicoContainer newContainerForChannel()
Copyright © 2017 JacORB. All rights reserved.