private static final Logger _logger = LogDomains.getLogger(
MEJBService.class, LogDomains.EJB_LOGGER);
public void postConstruct() {
GlassfishNamingManager gfNamingManager =
habitat.getComponent(GlassfishNamingManager.class);
MEJBNamingObjectProxy mejbProxy =
new MEJBNamingObjectProxy(habitat);
for(String next : MEJBNamingObjectProxy.getJndiNames()) {
try {
gfNamingManager.publishObject(next, mejbProxy, true);
} catch (Exception e) {
_logger.log(Level.WARNING, "Problem in publishing temp proxy for MEJB: " +
e.getMessage(), e);
}
}