try { java.lang.reflect.Method getCCL = Thread.class.getMethod( "getContextClassLoader", NO_CLASSES); if (getCCL != null) { ClassLoader contextClassLoader = (ClassLoader) getCCL.invoke( Thread.currentThread(), NO_OBJS); return ( contextClassLoader.getResourceAsStream( PROP_DIR + resourceName)); } } catch (Exception e) { }  return null;
return OutputPropertiesFactory.class .getResourceAsStream(resourceName);
                        public Object run()                        {                            try                            {                                java.lang.reflect.Method getCCL =                                    Thread.class.getMethod(                                        "getContextClassLoader",                                        NO_CLASSES);                                if (getCCL != null)                                {                                    ClassLoader contextClassLoader =                                        (ClassLoader) getCCL.invoke(                                            Thread.currentThread(),                                            NO_OBJS);                                    return (                                        contextClassLoader.getResourceAsStream(                                            PROP_DIR + resourceName));                                }                            }                            catch (Exception e)                            {                            }                            return null;                        }