public abstract class AbstractChannelFactory extends Object implements ManageableServant, Disposable
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
config_ |
protected org.picocontainer.MutablePicoContainer |
container_ |
protected org.slf4j.Logger |
logger_ |
protected Object |
thisRef_ |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractChannelFactory(org.picocontainer.MutablePicoContainer container,
ORB orb) |
| Modifier and Type | Method and Description |
|---|---|
POA |
_default_POA() |
Object |
activate() |
protected void |
addToChannels(int id,
AbstractEventChannel channel) |
protected void |
channelCreated(AbstractEventChannel channel) |
protected abstract Object |
create_abstract_channel(Property[] admin,
Property[] qos,
IntHolder id) |
protected AbstractEventChannel |
create_channel_servant(IntHolder id,
Property[] qosProps,
Property[] adminProps) |
void |
deactivate() |
void |
destroy() |
void |
dispose() |
protected AbstractEventChannel |
get_event_channel_servant(int id) |
protected int[] |
getAllChannels() |
protected Iterator |
getChannelIterator() |
protected Configuration |
getConfiguration() |
String |
getCorbaLoc() |
String |
getIOR() |
protected abstract String |
getObjectName() |
protected ORB |
getORB() |
protected abstract Servant |
getServant() |
protected abstract String |
getShortcut() |
protected org.picocontainer.MutablePicoContainer |
newContainerForChannel() |
protected abstract AbstractEventChannel |
newEventChannel() |
static AbstractChannelFactory |
newFactory(ORB optionalORB,
org.picocontainer.MutablePicoContainer optionalContainer,
Properties props) |
static AbstractChannelFactory |
newFactory(Properties props) |
void |
registerName(Properties props) |
void |
registerName(String nameId,
String nameKind) |
void |
setDestroyMethod(Runnable destroyMethod) |
void |
shutdown(org.jacorb.notification.AbstractChannelFactory.ShutdownCallback cb)
shutdown is called by the Java Wrapper
|
void |
unregisterName() |
void |
writeIOR(String fileName) |
protected final org.picocontainer.MutablePicoContainer container_
protected final Configuration config_
protected final Object thisRef_
protected final org.slf4j.Logger logger_
protected AbstractChannelFactory(org.picocontainer.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()
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()
dispose in interface org.picocontainer.Disposableprotected 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, org.picocontainer.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 org.picocontainer.MutablePicoContainer newContainerForChannel()
Copyright © 2015 JacORB. All rights reserved.