public Object construct(WireContext wireContext) { if (contextName == null) { return wireContext; } Environment environment = Environment.getCurrent(); if (environment == null) { String message = ExceptionManager.getInstance().getFullMessage("bp_CRD_1", contextName); throw new WireException(message); } return environment.getContext(contextName); }
if (environment != null) { try { wireContext = (WireContext) environment.getContext(contextName); if (wireContext == null) { String message = ExceptionManager.getInstance().getFullMessage(