}
} else if (resourceRef.isORB()) {
// TODO handle non-default ORBs
value = namingUtils.createLazyNamingObjectFactory(name, physicalJndiName, false);
} else if (resourceRef.isWebServiceContext()) {
WebServiceReferenceManager wsRefMgr = habitat.getByContract(WebServiceReferenceManager.class);
if (wsRefMgr != null ) {
value = wsRefMgr.getWSContextObject();
} else {
_logger.log (Level.SEVERE,
"Cannot find the following class to proceed with @Resource WebServiceContext" +
wsRefMgr +
"Please confirm if webservices module is installed ");