Examples of enableLogging()


Examples of org.apache.cocoon.environment.commandline.CommandLineContext.enableLogging()

            File contextDir = (File) this.ctx.get("context-root");
            File workDir = (File) this.ctx.get(Constants.CONTEXT_WORK_DIR);

            CommandLineContext clContext = new CommandLineContext(contextDir.toString());
            clContext.enableLogging(getLogger());
            this.ctx.put(Constants.CONTEXT_ENVIRONMENT_CONTEXT, clContext);
            this.ctx.put(Constants.CONTEXT_CLASSPATH, getClassPath(contextDir));

            this.ctx.put(Constants.CONTEXT_UPLOAD_DIR, new File(contextDir, "upload-dir"));
            this.ctx.put(Constants.CONTEXT_CACHE_DIR, new File(workDir, "cache-dir"));
View Full Code Here

Examples of org.apache.cocoon.environment.commandline.CommandlineContext.enableLogging()

            classLoader = (ClassLoader) this.ctx.get(Constants.CONTEXT_CLASS_LOADER);
            File contextDir = (File) this.ctx.get("context-root");
            File workDir = (File) this.ctx.get(Constants.CONTEXT_WORK_DIR);

            CommandlineContext clContext = new CommandlineContext(contextDir.toString());
            clContext.enableLogging(getLogger());
            this.ctx.put(Constants.CONTEXT_ENVIRONMENT_CONTEXT, clContext);
            this.ctx.put(Constants.CONTEXT_CLASSPATH, getClassPath(contextDir));

            this.ctx.put(Constants.CONTEXT_UPLOAD_DIR, new File(contextDir, "upload-dir"));
            this.ctx.put(Constants.CONTEXT_CACHE_DIR, new File(workDir, "cache-dir"));
View Full Code Here

Examples of org.apache.cocoon.environment.commandline.CommandlineContext.enableLogging()

        this.context = context;

        context.put(Constants.CONTEXT_WORK_DIR, workDir);

        CommandlineContext commandline_context = new CommandlineContext(commandlineContextDir.toString());
        commandline_context.enableLogging(getLogEnabledLogger());
        context.put(Constants.CONTEXT_ENVIRONMENT_CONTEXT, commandline_context);
    }
}
View Full Code Here

Examples of org.apache.cocoon.environment.http.HttpEnvironment.enableLogging()

                                  res,
                                  this.servletContext,
                                  (HttpContext) this.appContext.get(Constants.CONTEXT_ENVIRONMENT_CONTEXT),
                                  this.containerEncoding,
                                  formEncoding);
        env.enableLogging(new LogKitLogger(this.log));
        return env;
    }

    /**
     * Instatiates the parent component manager, as specified in the
View Full Code Here

Examples of org.apache.cocoon.environment.http.HttpEnvironment.enableLogging()

                                  res,
                                  this.servletContext,
                                  (HttpContext) this.appContext.get(Constants.CONTEXT_ENVIRONMENT_CONTEXT),
                                  this.containerEncoding,
                                  formEncoding);
        env.enableLogging(getLogger());
        return env;
    }

    /**
     * Instatiates the parent component manager, as specified in the
View Full Code Here

Examples of org.apache.cocoon.environment.portlet.PortletEnvironment.enableLogging()

                                     this.portletContext,
                                     this.envPortletContext,
                                     this.containerEncoding,
                                     formEncoding,
                                     this.defaultSessionScope);
        env.enableLogging(getLogger());
        return env;
    }

    /**
     * Create the environment for the request
View Full Code Here

Examples of org.apache.cocoon.environment.portlet.PortletEnvironment.enableLogging()

                                     this.portletContext,
                                     this.envPortletContext,
                                     this.containerEncoding,
                                     formEncoding,
                                     this.defaultSessionScope);
        env.enableLogging(getLogger());
        return env;
    }

    private String processTime(long time) {
        StringBuffer out = new StringBuffer(PROCESSED_BY);
View Full Code Here

Examples of org.apache.cocoon.environment.portlet.PortletEnvironment.enableLogging()

                                     this.portletContext,
                                     (PortletContext) this.appContext.get(Constants.CONTEXT_ENVIRONMENT_CONTEXT),
                                     this.containerEncoding,
                                     formEncoding,
                                     this.defaultSessionScope);
        env.enableLogging(getLogger());
        return env;
    }

    /**
     * Create the environment for the request
View Full Code Here

Examples of org.apache.cocoon.environment.portlet.PortletEnvironment.enableLogging()

                                     this.portletContext,
                                     (PortletContext) this.appContext.get(Constants.CONTEXT_ENVIRONMENT_CONTEXT),
                                     this.containerEncoding,
                                     formEncoding,
                                     this.defaultSessionScope);
        env.enableLogging(getLogger());
        return env;
    }

    /**
     * Instatiates the parent component manager, as specified in the
View Full Code Here

Examples of org.apache.cocoon.forms.binding.library.Library.enableLogging()

            boolean flag = false;
            if (context.getLocalLibrary() == null) {
                // FIXME Use newLibrary()?
                Library lib = new Library(libraryManager, getBuilderAssistant());
                lib.enableLogging(getMyLogger());
                context.setLocalLibrary(lib);
                lib.setSourceURI(LocationAttributes.getURI(configElm));
                flag = true;
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.