/** * Get the service context * * @return the service context */ public ServiceContext getServiceContext() { try { serviceContext.proxy = getServiceProxy(); } catch (Exception ignored) { } if (getError() != null) serviceContext.setProblem(getError()); if (getState() == ControllerState.ERROR) serviceContext.state = ServiceContext.FAILED; return serviceContext; }
/** * Get the service context * * @return the service context */ public ServiceContext getServiceContext() { try { serviceContext.proxy = getServiceProxy(); } catch (Exception ignored) { } if (getError() != null) serviceContext.setProblem(getError()); if (getState() == ControllerState.ERROR) serviceContext.state = ServiceContext.FAILED; return serviceContext; }