MERCURY, "serverExporter", Exporter.class,
new ActivationExporter(
activationID,
new BasicJeriExporter(
TcpServerEndpoint.getInstance(0),
new BasicILFactory(), false, true)),
activationID);
if (initLogger.isLoggable(Level.CONFIG)) {
initLogger.log(Level.CONFIG, "Activatable service exporter is: {0}",
exporter);
}
} else { //Get non-activatable configuration items
exporter = (Exporter) Config.getNonNullEntry(config,
MERCURY, "serverExporter", Exporter.class,
new BasicJeriExporter(
TcpServerEndpoint.getInstance(0),
new BasicILFactory(), false, true));
if (initLogger.isLoggable(Level.CONFIG)) {
initLogger.log(Level.CONFIG,
"Non-activatable service exporter is: {0}", exporter);
}
}