protected abstract DefaultCurrentImpl getCurrentImpl();
public final void pre_init(ORBInitInfo info)
{
ORB orb = ((org.jacorb.orb.portableInterceptor.ORBInitInfoImpl) info).getORB ();
logger_ = orb.getConfiguration().getLogger("jacorb.transport");
DefaultCurrentImpl impl = getCurrentImpl();
try {
impl.configure(orb.getConfiguration ());
info.register_initial_reference (getName(), impl);
logger_.info ("Registered initial reference \""+getName ()+"\" for "+impl.getClass().getName());
}
catch (ConfigurationException e) {
e.printStackTrace ();
}
catch (InvalidName e) {
e.printStackTrace ();
}
// Chain-in our implementation as a listener to the Transport events
orb.getTransportManager ().addTransportListener (impl);
}