private static ServiceInterceptor getInterceptor(Class interceptorClass) throws ClassNotFoundException { ServiceInterceptor interceptor = interceptorMap.get(interceptorClass); if (interceptor == null) { interceptor = (ServiceInterceptor) ClassHelper.newInstance(interceptorClass); interceptorMap.put(interceptorClass, interceptor); } return (ServiceInterceptor) interceptor; }
/** * Method dumpHeader * * @param object Object * @param index int */ private void dumpHeader(Object object, int index) { ClassHelper.dumpClassName(buffer, object.getClass(), useQualifiedClassNames); buffer.append('@').append(index); }