/** * Returns the service identifier for the request. */ public String getServiceName() { return ServiceContext.getServiceName(); }
/** * Returns the servlet request object for the request. */ public ServletRequest getRequest() { return ServiceContext.getRequest(); }
/** * Returns the service identifier for the request. * * @deprecated */ public String getServiceId() { return getServiceName(); }
/** * Returns the object identifier for the request. */ public String getObjectId() { return ServiceContext.getObjectId(); }
/** * Initialize the service instance. */ public void init(ServletConfig config) throws ServletException { this.config = config; init(); }
/** * Gets a header from the context. */ public static Object getContextHeader(String header) { ServiceContext context = (ServiceContext) _localContext.get(); if (context != null) return context.getHeader(header); else return null; }
/** * Returns the API class of the object URLs */ public String getObjectClassName() { if (_objectClass != null) return _objectClass.getName(); else return getAPIClassName(); }
/** * Logs a message to the error stream. */ public void log(String message) { getServletContext().log(message); }
protected String mangleName(Method method) { Class<?> []param = method.getParameterTypes(); if (param == null || param.length == 0) return method.getName(); else return AbstractSkeleton.mangleName(method, false); }
/** * Returns the service identifier for the request. */ public String getServiceName() { return ServiceContext.getServiceName(); }
/** * Returns the servlet request object for the request. */ public ServletRequest getRequest() { return ServiceContext.getRequest(); }
/** * Returns the service identifier for the request. * * @deprecated */ public String getServiceId() { return getServiceName(); }
/** * Returns the object identifier for the request. */ public String getObjectId() { return ServiceContext.getObjectId(); }
/** * Initialize the service instance. */ public void init(ServletConfig config) throws ServletException { this.config = config; init(); }
/** * Gets a header from the context. */ public static Object getContextHeader(String header) { ServiceContext context = (ServiceContext) _localContext.get(); if (context != null) return context.getHeader(header); else return null; }
/** * Returns the service identifier for the request. */ public String getServiceName() { return ServiceContext.getServiceName(); }
/** * Returns the servlet request object for the request. */ public ServletRequest getRequest() { return ServiceContext.getRequest(); }
/** * Returns the service identifier for the request. * * @deprecated */ public String getServiceId() { return getServiceName(); }
/** * Returns the object identifier for the request. */ public String getObjectId() { return ServiceContext.getObjectId(); }
/** * Initialize the service instance. */ public void init(ServletConfig config) throws ServletException { this.config = config; init(); }