[jboss-cvs] JBossAS SVN: r87215 - in projects/log-services/trunk: metadata/src/main/java/org/jboss/logging/metadata and 8 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Apr 13 20:51:48 EDT 2009


Author: david.lloyd at jboss.com
Date: 2009-04-13 20:51:48 -0400 (Mon, 13 Apr 2009)
New Revision: 87215

Added:
   projects/log-services/trunk/src/main/java/
   projects/log-services/trunk/src/main/java/org/
   projects/log-services/trunk/src/main/java/org/jboss/
   projects/log-services/trunk/src/main/java/org/jboss/logging/
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/LoggingMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/AppenderMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/CategoryMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ConfigurationMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ConnectionSourceMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/Debug.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/EmptyMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ErrorHandlerMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/GenericObjectMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/LevelMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/Log4jMetaDataHelper.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/LoggerMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ParamMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/PluginMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/RefMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/RendererMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/RootMetaData.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/Threshold.java
   projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/TriggeringPolicyMetaData.java
   projects/log-services/trunk/src/main/resources/
Removed:
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/LoggingMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/AppenderMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/CategoryMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ConfigurationMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ConnectionSourceMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Debug.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/EmptyMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ErrorHandlerMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/GenericObjectMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/LevelMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Log4jMetaDataHelper.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/LoggerMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ParamMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/PluginMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RefMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RendererMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RootMetaData.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Threshold.java
   projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/TriggeringPolicyMetaData.java
   projects/log-services/trunk/metadata/src/main/resources/
Log:
A little restructuring

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/LoggingMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/LoggingMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/LoggingMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,39 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata;
-
-import org.jboss.xb.annotations.JBossXmlSchema;
-
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlNsForm;
-import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
- at JBossXmlSchema(namespace = "urn:jboss:logging:5.0", elementFormDefault = XmlNsForm.QUALIFIED)
- at XmlRootElement(name = "jboss-logging")
- at XmlType(name = "jboss-logging", propOrder = {})
-public final class LoggingMetaData {
-    
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/AppenderMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/AppenderMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/AppenderMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,117 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import java.util.List;
-import java.util.ArrayList;
-
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlAttribute;
-
-/**
- *
- */
- at XmlType(name = "appender", propOrder = {})
-public class AppenderMetaData extends GenericObjectMetaData {
-    private ErrorHandlerMetaData errorHandler;
-    private GenericObjectMetaData rollingPolicy;
-    private TriggeringPolicyMetaData triggeringPolicy;
-    private ConnectionSourceMetaData connectionSource;
-    private GenericObjectMetaData layout;
-    private List<GenericObjectMetaData> filters = new ArrayList<GenericObjectMetaData>();
-    private List<RefMetaData> appenderRefs = new ArrayList<RefMetaData>();
-    private String name;
-
-    public ErrorHandlerMetaData getErrorHandler() {
-        return errorHandler;
-    }
-
-    @XmlElement
-    public void setErrorHandler(final ErrorHandlerMetaData errorHandler) {
-        this.errorHandler = errorHandler;
-    }
-
-    public GenericObjectMetaData getRollingPolicy() {
-        return rollingPolicy;
-    }
-
-    @XmlElement
-    public void setRollingPolicy(final GenericObjectMetaData rollingPolicy) {
-        this.rollingPolicy = rollingPolicy;
-    }
-
-    public TriggeringPolicyMetaData getTriggeringPolicy() {
-        return triggeringPolicy;
-    }
-
-    @XmlElement
-    public void setTriggeringPolicy(final TriggeringPolicyMetaData triggeringPolicy) {
-        this.triggeringPolicy = triggeringPolicy;
-    }
-
-    public ConnectionSourceMetaData getConnectionSource() {
-        return connectionSource;
-    }
-
-    @XmlElement
-    public void setConnectionSource(final ConnectionSourceMetaData connectionSource) {
-        this.connectionSource = connectionSource;
-    }
-
-    public GenericObjectMetaData getLayout() {
-        return layout;
-    }
-
-    @XmlElement
-    public void setLayout(final GenericObjectMetaData layout) {
-        this.layout = layout;
-    }
-
-    public List<GenericObjectMetaData> getFilters() {
-        return filters;
-    }
-
-    @XmlElement(name = "filter")
-    public void setFilters(final List<GenericObjectMetaData> filters) {
-        this.filters = filters;
-    }
-
-    public List<RefMetaData> getAppenderRefs() {
-        return appenderRefs;
-    }
-
-    @XmlElement(name = "appender-ref")
-    public void setAppenderRefs(final List<RefMetaData> appenderRefs) {
-        this.appenderRefs = appenderRefs;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    @XmlAttribute(required = true)
-    public void setName(final String name) {
-        this.name = name;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/CategoryMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/CategoryMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/CategoryMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,91 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import java.util.List;
-import java.util.ArrayList;
-
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-
-/**
- *
- */
- at XmlType(name = "category", propOrder = {})
-public class CategoryMetaData extends GenericObjectMetaData {
-    private LevelMetaData level;
-    private List<RefMetaData> appenderRefs = new ArrayList<RefMetaData>();
-    private String name;
-    private boolean additivity = true;
-
-    @XmlAttribute(name = "class", required = false)
-    public void setClassName(final String className) {
-        super.setClassName(className);
-    }
-
-    public LevelMetaData getLevel() {
-        return level;
-    }
-
-    @XmlElement
-    public void setLevel(final LevelMetaData level) {
-        this.level = level;
-    }
-
-    public LevelMetaData getPriority() {
-        return level;
-    }
-
-    @XmlElement
-    public void setPriority(final LevelMetaData priority) {
-        level = priority;
-    }
-
-    public List<RefMetaData> getAppenderRefs() {
-        return appenderRefs;
-    }
-
-    @XmlElement(name = "appender-ref")
-    public void setAppenderRefs(final List<RefMetaData> appenderRefs) {
-        this.appenderRefs = appenderRefs;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    @XmlAttribute(required = true)
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    public boolean isAdditivity() {
-        return additivity;
-    }
-
-    @XmlAttribute
-    public void setAdditivity(final boolean additivity) {
-        this.additivity = additivity;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ConfigurationMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ConfigurationMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ConfigurationMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,160 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import org.jboss.beans.metadata.spi.BeanMetaDataFactory;
-import org.jboss.beans.metadata.spi.BeanMetaData;
-import org.jboss.xb.annotations.JBossXmlSchema;
-import java.util.List;
-import java.util.ArrayList;
-
-import javax.xml.bind.annotation.XmlTransient;
-import javax.xml.bind.annotation.XmlNsForm;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlAttribute;
-
-/**
- *
- */
- at JBossXmlSchema(namespace = "http://jakarta.apache.org/log4j/", elementFormDefault = XmlNsForm.UNQUALIFIED)
- at XmlRootElement(name = "configuration")
- at XmlType(name = "configuration", propOrder = {})
-public class ConfigurationMetaData implements BeanMetaDataFactory {
-    private List<RendererMetaData> renderers = new ArrayList<RendererMetaData>();
-    private List<AppenderMetaData> appenders = new ArrayList<AppenderMetaData>();
-    private List<PluginMetaData> plugins = new ArrayList<PluginMetaData>();
-    private List<CategoryMetaData> categories = new ArrayList<CategoryMetaData>();
-    private List<LoggerMetaData> loggers = new ArrayList<LoggerMetaData>();
-    private RootMetaData root;
-    private GenericObjectMetaData categoryFactory;
-    private GenericObjectMetaData loggerFactory;
-    private Threshold threshold = Threshold.NULL;
-    private Debug debug = Debug.NULL;
-    private boolean reset;
-
-    public List<RendererMetaData> getRenderers() {
-        return renderers;
-    }
-
-    @XmlElement(name = "renderer")
-    public void setRenderers(final List<RendererMetaData> renderers) {
-        this.renderers = renderers;
-    }
-
-    public List<AppenderMetaData> getAppenders() {
-        return appenders;
-    }
-
-    @XmlElement(name = "appender")
-    public void setAppenders(final List<AppenderMetaData> appenders) {
-        this.appenders = appenders;
-    }
-
-    public List<PluginMetaData> getPlugins() {
-        return plugins;
-    }
-
-    @XmlElement(name = "plugin")
-    public void setPlugins(final List<PluginMetaData> plugins) {
-        this.plugins = plugins;
-    }
-
-    public List<CategoryMetaData> getCategories() {
-        return categories;
-    }
-
-    @XmlElement(name = "category")
-    public void setCategories(final List<CategoryMetaData> categories) {
-        this.categories = categories;
-    }
-
-    public List<LoggerMetaData> getLoggers() {
-        return loggers;
-    }
-
-    @XmlElement(name = "logger")
-    public void setLoggers(final List<LoggerMetaData> loggers) {
-        this.loggers = loggers;
-    }
-
-    public RootMetaData getRoot() {
-        return root;
-    }
-
-    @XmlElement
-    public void setRoot(final RootMetaData root) {
-        this.root = root;
-    }
-
-    public GenericObjectMetaData getCategoryFactory() {
-        return categoryFactory;
-    }
-
-    @XmlElement
-    public void setCategoryFactory(final GenericObjectMetaData categoryFactory) {
-        this.categoryFactory = categoryFactory;
-    }
-
-    public GenericObjectMetaData getLoggerFactory() {
-        return loggerFactory;
-    }
-
-    @XmlElement
-    public void setLoggerFactory(final GenericObjectMetaData loggerFactory) {
-        this.loggerFactory = loggerFactory;
-    }
-
-    public Threshold getThreshold() {
-        return threshold;
-    }
-
-    @XmlAttribute
-    public void setThreshold(final Threshold threshold) {
-        this.threshold = threshold;
-    }
-
-    public Debug getDebug() {
-        return debug;
-    }
-
-    @XmlAttribute
-    public void setDebug(final Debug debug) {
-        this.debug = debug;
-    }
-
-    public boolean isReset() {
-        return reset;
-    }
-
-    @XmlAttribute
-    public void setReset(final boolean reset) {
-        this.reset = reset;
-    }
-
-    @XmlTransient
-    public List<BeanMetaData> getBeans() {
-        return null;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ConnectionSourceMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ConnectionSourceMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ConnectionSourceMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,43 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlElement;
-
-/**
- *
- */
- at XmlType(name = "connectionSource", propOrder = {})
-public class ConnectionSourceMetaData extends GenericObjectMetaData {
-    private GenericObjectMetaData dataSource;
-
-    public GenericObjectMetaData getDataSource() {
-        return dataSource;
-    }
-
-    @XmlElement
-    public void setDataSource(final GenericObjectMetaData dataSource) {
-        this.dataSource = dataSource;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Debug.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Debug.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Debug.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,40 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import javax.xml.bind.annotation.XmlEnum;
-import javax.xml.bind.annotation.XmlEnumValue;
-
-/**
- *
- */
- at XmlEnum
-public enum Debug {
-    @XmlEnumValue("true")
-    TRUE,
-    @XmlEnumValue("false")
-    FALSE,
-    @XmlEnumValue("null")
-    NULL,
-    ;
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/EmptyMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/EmptyMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/EmptyMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,41 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
- at XmlType(name = "empty", factoryClass = EmptyMetaData.class, factoryMethod = "getInstance", propOrder = {})
-public class EmptyMetaData {
-
-    private EmptyMetaData() {
-    }
-
-    public static final EmptyMetaData INSTANCE = new EmptyMetaData();
-
-    public static EmptyMetaData getInstance() {
-        return INSTANCE;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ErrorHandlerMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ErrorHandlerMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ErrorHandlerMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,66 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import java.util.List;
-import java.util.ArrayList;
-
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlElement;
-
-/**
- *
- */
- at XmlType(name = "errorHandler", propOrder = {})
-public class ErrorHandlerMetaData extends GenericObjectMetaData {
-    private EmptyMetaData rootRef;
-    private List<RefMetaData> loggerRefs = new ArrayList<RefMetaData>();
-    private RefMetaData appenderRef;
-
-    public EmptyMetaData getRootRef() {
-        return rootRef;
-    }
-
-    @XmlElement(name = "root-ref")
-    public void setRootRef(final EmptyMetaData rootRef) {
-        this.rootRef = rootRef;
-    }
-
-    public List<RefMetaData> getLoggerRefs() {
-        return loggerRefs;
-    }
-
-    @XmlElement(name = "logger-ref")
-    public void setLoggerRefs(final List<RefMetaData> loggerRefs) {
-        this.loggerRefs = loggerRefs;
-    }
-
-    public RefMetaData getAppenderRef() {
-        return appenderRef;
-    }
-
-    @XmlElement(name = "appender-ref")
-    public void setAppenderRef(final RefMetaData appenderRef) {
-        this.appenderRef = appenderRef;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/GenericObjectMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/GenericObjectMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/GenericObjectMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,57 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import java.util.List;
-import java.util.ArrayList;
-
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlAttribute;
-
-/**
- *
- */
- at XmlType(name = "genericObject", propOrder = {})
-public class GenericObjectMetaData {
-    private List<ParamMetaData> params = new ArrayList<ParamMetaData>();
-    private String className;
-
-    public List<ParamMetaData> getParams() {
-        return params;
-    }
-
-    @XmlElement(name = "param")
-    public void setParams(final List<ParamMetaData> params) {
-        this.params = params;
-    }
-
-    public String getClassName() {
-        return className;
-    }
-
-    @XmlAttribute(name = "class", required = true)
-    public void setClassName(final String className) {
-        this.className = className;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/LevelMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/LevelMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/LevelMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,49 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlType;
-
-/**
- *
- */
- at XmlType(name = "level", propOrder = {})
-public class LevelMetaData extends GenericObjectMetaData {
-
-    private String value;
-
-    @XmlAttribute(name = "class", required = false)
-    public void setClassName(final String className) {
-        super.setClassName(className);
-    }
-
-    public String getValue() {
-        return value;
-    }
-
-    @XmlAttribute(required = true)
-    public void setValue(final String value) {
-        this.value = value;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Log4jMetaDataHelper.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Log4jMetaDataHelper.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Log4jMetaDataHelper.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import org.jboss.beans.metadata.spi.BeanMetaData;
-import java.util.List;
-
-/**
- *
- */
-public final class Log4jMetaDataHelper {
-    private Log4jMetaDataHelper() {}
-
-    public static void buildBeanMetaData(List<BeanMetaData> beanMetaDatas, ConfigurationMetaData configurationMetaData) {
-        if (configurationMetaData.getThreshold() != Threshold.NULL) {
-            // todo log ignored msg
-        }
-        if (configurationMetaData.isReset() != false) {
-            // todo log ignored msg
-        }
-        if (configurationMetaData.getDebug() != Debug.NULL) {
-            // todo log ignored msg
-        }
-        
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/LoggerMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/LoggerMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/LoggerMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,77 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import java.util.List;
-import java.util.ArrayList;
-
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlAttribute;
-
-/**
- *
- */
- at XmlType(name = "logger", propOrder = {})
-public class LoggerMetaData {
-    private LevelMetaData level;
-    private List<RefMetaData> appenderRefs = new ArrayList<RefMetaData>();
-    private String name;
-    private boolean additivity = true;
-
-    public LevelMetaData getLevel() {
-        return level;
-    }
-
-    @XmlElement
-    public void setLevel(final LevelMetaData level) {
-        this.level = level;
-    }
-
-    public List<RefMetaData> getAppenderRefs() {
-        return appenderRefs;
-    }
-
-    @XmlElement(name = "appender-ref")
-    public void setAppenderRefs(final List<RefMetaData> appenderRefs) {
-        this.appenderRefs = appenderRefs;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    @XmlAttribute(required = true)
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    public boolean isAdditivity() {
-        return additivity;
-    }
-
-    @XmlAttribute
-    public void setAdditivity(final boolean additivity) {
-        this.additivity = additivity;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ParamMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ParamMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ParamMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,53 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlAttribute;
-
-/**
- *
- */
- at XmlType(name = "param", propOrder = {})
-public class ParamMetaData {
-    private String name;
-    private String value;
-
-    public String getName() {
-        return name;
-    }
-
-    @XmlAttribute(required = true)
-    public void setName(final String name) {
-        this.name = name;
-    }
-
-    public String getValue() {
-        return value;
-    }
-
-    @XmlAttribute(required = true)
-    public void setValue(final String value) {
-        this.value = value;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/PluginMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/PluginMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/PluginMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,54 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlAttribute;
-
-/**
- *
- */
- at XmlType(name = "plugin", propOrder = {})
-public class PluginMetaData extends GenericObjectMetaData {
-    private ConnectionSourceMetaData connectionSource;
-    private String name;
-
-    public ConnectionSourceMetaData getConnectionSource() {
-        return connectionSource;
-    }
-
-    @XmlElement
-    public void setConnectionSource(final ConnectionSourceMetaData connectionSource) {
-        this.connectionSource = connectionSource;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    @XmlAttribute(required = true)
-    public void setName(final String name) {
-        this.name = name;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RefMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RefMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RefMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,43 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlAttribute;
-
-/**
- *
- */
- at XmlType(name = "ref", propOrder = {})
-public class RefMetaData {
-    private String ref;
-
-    public String getRef() {
-        return ref;
-    }
-
-    @XmlAttribute(required = true)
-    public void setRef(final String ref) {
-        this.ref = ref;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RendererMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RendererMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RendererMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,53 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlAttribute;
-
-/**
- *
- */
- at XmlType(name = "renderer", propOrder = {})
-public class RendererMetaData {
-    private String renderedClass;
-    private String renderingClass;
-
-    public String getRenderedClass() {
-        return renderedClass;
-    }
-
-    @XmlAttribute(required = true)
-    public void setRenderedClass(final String renderedClass) {
-        this.renderedClass = renderedClass;
-    }
-
-    public String getRenderingClass() {
-        return renderingClass;
-    }
-
-    @XmlAttribute(required = true)
-    public void setRenderingClass(final String renderingClass) {
-        this.renderingClass = renderingClass;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RootMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RootMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RootMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,75 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import java.util.List;
-import java.util.ArrayList;
-
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlElement;
-
-/**
- *
- */
- at XmlType(name = "root", propOrder = {})
-public class RootMetaData {
-    private List<ParamMetaData> params = new ArrayList<ParamMetaData>();
-    private LevelMetaData level;
-    private List<RefMetaData> appenderRefs = new ArrayList<RefMetaData>();
-
-    public List<ParamMetaData> getParams() {
-        return params;
-    }
-
-    @XmlElement(name = "param")
-    public void setParams(final List<ParamMetaData> params) {
-        this.params = params;
-    }
-
-    public LevelMetaData getLevel() {
-        return level;
-    }
-
-    @XmlElement(name = "level")
-    public void setLevel(final LevelMetaData level) {
-        this.level = level;
-    }
-
-    public LevelMetaData getPriority() {
-        return level;
-    }
-
-    @XmlElement(name = "priority")
-    public void setPriority(final LevelMetaData priority) {
-        level = priority;
-    }
-
-    public List<RefMetaData> getAppenderRefs() {
-        return appenderRefs;
-    }
-
-    @XmlElement(name = "appender-ref")
-    public void setAppenderRefs(final List<RefMetaData> appenderRefs) {
-        this.appenderRefs = appenderRefs;
-    }
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Threshold.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Threshold.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Threshold.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,52 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import javax.xml.bind.annotation.XmlEnum;
-import javax.xml.bind.annotation.XmlEnumValue;
-
-/**
- *
- */
- at XmlEnum
-public enum Threshold {
-    @XmlEnumValue("all")
-    ALL,
-    @XmlEnumValue("trace")
-    TRACE,
-    @XmlEnumValue("debug")
-    DEBUG,
-    @XmlEnumValue("info")
-    INFO,
-    @XmlEnumValue("warn")
-    WARN,
-    @XmlEnumValue("error")
-    ERROR,
-    @XmlEnumValue("fatal")
-    FATAL,
-    @XmlEnumValue("off")
-    OFF,
-    @XmlEnumValue("null")
-    NULL,
-    ;
-}

Deleted: projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/TriggeringPolicyMetaData.java
===================================================================
--- projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/TriggeringPolicyMetaData.java	2009-04-14 00:49:03 UTC (rev 87214)
+++ projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/TriggeringPolicyMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -1,57 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.logging.metadata.log4j;
-
-import java.util.List;
-import java.util.ArrayList;
-
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlAttribute;
-
-/**
- *
- */
- at XmlType(name = "triggeringPolicy", propOrder = {})
-public class TriggeringPolicyMetaData extends GenericObjectMetaData {
-    private List<GenericObjectMetaData> filters = new ArrayList<GenericObjectMetaData>();
-    private String name;
-
-    public List<GenericObjectMetaData> getFilters() {
-        return filters;
-    }
-
-    @XmlElement(name = "filter")
-    public void setFilters(final List<GenericObjectMetaData> filters) {
-        this.filters = filters;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    @XmlAttribute(required = true)
-    public void setName(final String name) {
-        this.name = name;
-    }
-}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/LoggingMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/LoggingMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/LoggingMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/LoggingMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata;
+
+import org.jboss.xb.annotations.JBossXmlSchema;
+
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlNsForm;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ *
+ */
+ at JBossXmlSchema(namespace = "urn:jboss:logging:5.0", elementFormDefault = XmlNsForm.QUALIFIED)
+ at XmlRootElement(name = "jboss-logging")
+ at XmlType(name = "jboss-logging", propOrder = {})
+public final class LoggingMetaData {
+    
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/AppenderMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/AppenderMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/AppenderMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/AppenderMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import java.util.List;
+import java.util.ArrayList;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlAttribute;
+
+/**
+ *
+ */
+ at XmlType(name = "appender", propOrder = {})
+public class AppenderMetaData extends GenericObjectMetaData {
+    private ErrorHandlerMetaData errorHandler;
+    private GenericObjectMetaData rollingPolicy;
+    private TriggeringPolicyMetaData triggeringPolicy;
+    private ConnectionSourceMetaData connectionSource;
+    private GenericObjectMetaData layout;
+    private List<GenericObjectMetaData> filters = new ArrayList<GenericObjectMetaData>();
+    private List<RefMetaData> appenderRefs = new ArrayList<RefMetaData>();
+    private String name;
+
+    public ErrorHandlerMetaData getErrorHandler() {
+        return errorHandler;
+    }
+
+    @XmlElement
+    public void setErrorHandler(final ErrorHandlerMetaData errorHandler) {
+        this.errorHandler = errorHandler;
+    }
+
+    public GenericObjectMetaData getRollingPolicy() {
+        return rollingPolicy;
+    }
+
+    @XmlElement
+    public void setRollingPolicy(final GenericObjectMetaData rollingPolicy) {
+        this.rollingPolicy = rollingPolicy;
+    }
+
+    public TriggeringPolicyMetaData getTriggeringPolicy() {
+        return triggeringPolicy;
+    }
+
+    @XmlElement
+    public void setTriggeringPolicy(final TriggeringPolicyMetaData triggeringPolicy) {
+        this.triggeringPolicy = triggeringPolicy;
+    }
+
+    public ConnectionSourceMetaData getConnectionSource() {
+        return connectionSource;
+    }
+
+    @XmlElement
+    public void setConnectionSource(final ConnectionSourceMetaData connectionSource) {
+        this.connectionSource = connectionSource;
+    }
+
+    public GenericObjectMetaData getLayout() {
+        return layout;
+    }
+
+    @XmlElement
+    public void setLayout(final GenericObjectMetaData layout) {
+        this.layout = layout;
+    }
+
+    public List<GenericObjectMetaData> getFilters() {
+        return filters;
+    }
+
+    @XmlElement(name = "filter")
+    public void setFilters(final List<GenericObjectMetaData> filters) {
+        this.filters = filters;
+    }
+
+    public List<RefMetaData> getAppenderRefs() {
+        return appenderRefs;
+    }
+
+    @XmlElement(name = "appender-ref")
+    public void setAppenderRefs(final List<RefMetaData> appenderRefs) {
+        this.appenderRefs = appenderRefs;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    @XmlAttribute(required = true)
+    public void setName(final String name) {
+        this.name = name;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/CategoryMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/CategoryMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/CategoryMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/CategoryMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,91 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import java.util.List;
+import java.util.ArrayList;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ *
+ */
+ at XmlType(name = "category", propOrder = {})
+public class CategoryMetaData extends GenericObjectMetaData {
+    private LevelMetaData level;
+    private List<RefMetaData> appenderRefs = new ArrayList<RefMetaData>();
+    private String name;
+    private boolean additivity = true;
+
+    @XmlAttribute(name = "class", required = false)
+    public void setClassName(final String className) {
+        super.setClassName(className);
+    }
+
+    public LevelMetaData getLevel() {
+        return level;
+    }
+
+    @XmlElement
+    public void setLevel(final LevelMetaData level) {
+        this.level = level;
+    }
+
+    public LevelMetaData getPriority() {
+        return level;
+    }
+
+    @XmlElement
+    public void setPriority(final LevelMetaData priority) {
+        level = priority;
+    }
+
+    public List<RefMetaData> getAppenderRefs() {
+        return appenderRefs;
+    }
+
+    @XmlElement(name = "appender-ref")
+    public void setAppenderRefs(final List<RefMetaData> appenderRefs) {
+        this.appenderRefs = appenderRefs;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    @XmlAttribute(required = true)
+    public void setName(final String name) {
+        this.name = name;
+    }
+
+    public boolean isAdditivity() {
+        return additivity;
+    }
+
+    @XmlAttribute
+    public void setAdditivity(final boolean additivity) {
+        this.additivity = additivity;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ConfigurationMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ConfigurationMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ConfigurationMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ConfigurationMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,160 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import org.jboss.beans.metadata.spi.BeanMetaDataFactory;
+import org.jboss.beans.metadata.spi.BeanMetaData;
+import org.jboss.xb.annotations.JBossXmlSchema;
+import java.util.List;
+import java.util.ArrayList;
+
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlNsForm;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlAttribute;
+
+/**
+ *
+ */
+ at JBossXmlSchema(namespace = "http://jakarta.apache.org/log4j/", elementFormDefault = XmlNsForm.UNQUALIFIED)
+ at XmlRootElement(name = "configuration")
+ at XmlType(name = "configuration", propOrder = {})
+public class ConfigurationMetaData implements BeanMetaDataFactory {
+    private List<RendererMetaData> renderers = new ArrayList<RendererMetaData>();
+    private List<AppenderMetaData> appenders = new ArrayList<AppenderMetaData>();
+    private List<PluginMetaData> plugins = new ArrayList<PluginMetaData>();
+    private List<CategoryMetaData> categories = new ArrayList<CategoryMetaData>();
+    private List<LoggerMetaData> loggers = new ArrayList<LoggerMetaData>();
+    private RootMetaData root;
+    private GenericObjectMetaData categoryFactory;
+    private GenericObjectMetaData loggerFactory;
+    private Threshold threshold = Threshold.NULL;
+    private Debug debug = Debug.NULL;
+    private boolean reset;
+
+    public List<RendererMetaData> getRenderers() {
+        return renderers;
+    }
+
+    @XmlElement(name = "renderer")
+    public void setRenderers(final List<RendererMetaData> renderers) {
+        this.renderers = renderers;
+    }
+
+    public List<AppenderMetaData> getAppenders() {
+        return appenders;
+    }
+
+    @XmlElement(name = "appender")
+    public void setAppenders(final List<AppenderMetaData> appenders) {
+        this.appenders = appenders;
+    }
+
+    public List<PluginMetaData> getPlugins() {
+        return plugins;
+    }
+
+    @XmlElement(name = "plugin")
+    public void setPlugins(final List<PluginMetaData> plugins) {
+        this.plugins = plugins;
+    }
+
+    public List<CategoryMetaData> getCategories() {
+        return categories;
+    }
+
+    @XmlElement(name = "category")
+    public void setCategories(final List<CategoryMetaData> categories) {
+        this.categories = categories;
+    }
+
+    public List<LoggerMetaData> getLoggers() {
+        return loggers;
+    }
+
+    @XmlElement(name = "logger")
+    public void setLoggers(final List<LoggerMetaData> loggers) {
+        this.loggers = loggers;
+    }
+
+    public RootMetaData getRoot() {
+        return root;
+    }
+
+    @XmlElement
+    public void setRoot(final RootMetaData root) {
+        this.root = root;
+    }
+
+    public GenericObjectMetaData getCategoryFactory() {
+        return categoryFactory;
+    }
+
+    @XmlElement
+    public void setCategoryFactory(final GenericObjectMetaData categoryFactory) {
+        this.categoryFactory = categoryFactory;
+    }
+
+    public GenericObjectMetaData getLoggerFactory() {
+        return loggerFactory;
+    }
+
+    @XmlElement
+    public void setLoggerFactory(final GenericObjectMetaData loggerFactory) {
+        this.loggerFactory = loggerFactory;
+    }
+
+    public Threshold getThreshold() {
+        return threshold;
+    }
+
+    @XmlAttribute
+    public void setThreshold(final Threshold threshold) {
+        this.threshold = threshold;
+    }
+
+    public Debug getDebug() {
+        return debug;
+    }
+
+    @XmlAttribute
+    public void setDebug(final Debug debug) {
+        this.debug = debug;
+    }
+
+    public boolean isReset() {
+        return reset;
+    }
+
+    @XmlAttribute
+    public void setReset(final boolean reset) {
+        this.reset = reset;
+    }
+
+    @XmlTransient
+    public List<BeanMetaData> getBeans() {
+        return null;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ConnectionSourceMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ConnectionSourceMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ConnectionSourceMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ConnectionSourceMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ *
+ */
+ at XmlType(name = "connectionSource", propOrder = {})
+public class ConnectionSourceMetaData extends GenericObjectMetaData {
+    private GenericObjectMetaData dataSource;
+
+    public GenericObjectMetaData getDataSource() {
+        return dataSource;
+    }
+
+    @XmlElement
+    public void setDataSource(final GenericObjectMetaData dataSource) {
+        this.dataSource = dataSource;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/Debug.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Debug.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/Debug.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/Debug.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+/**
+ *
+ */
+ at XmlEnum
+public enum Debug {
+    @XmlEnumValue("true")
+    TRUE,
+    @XmlEnumValue("false")
+    FALSE,
+    @XmlEnumValue("null")
+    NULL,
+    ;
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/EmptyMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/EmptyMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/EmptyMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/EmptyMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ *
+ */
+ at XmlType(name = "empty", factoryClass = EmptyMetaData.class, factoryMethod = "getInstance", propOrder = {})
+public class EmptyMetaData {
+
+    private EmptyMetaData() {
+    }
+
+    public static final EmptyMetaData INSTANCE = new EmptyMetaData();
+
+    public static EmptyMetaData getInstance() {
+        return INSTANCE;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ErrorHandlerMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ErrorHandlerMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ErrorHandlerMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ErrorHandlerMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,66 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import java.util.List;
+import java.util.ArrayList;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ *
+ */
+ at XmlType(name = "errorHandler", propOrder = {})
+public class ErrorHandlerMetaData extends GenericObjectMetaData {
+    private EmptyMetaData rootRef;
+    private List<RefMetaData> loggerRefs = new ArrayList<RefMetaData>();
+    private RefMetaData appenderRef;
+
+    public EmptyMetaData getRootRef() {
+        return rootRef;
+    }
+
+    @XmlElement(name = "root-ref")
+    public void setRootRef(final EmptyMetaData rootRef) {
+        this.rootRef = rootRef;
+    }
+
+    public List<RefMetaData> getLoggerRefs() {
+        return loggerRefs;
+    }
+
+    @XmlElement(name = "logger-ref")
+    public void setLoggerRefs(final List<RefMetaData> loggerRefs) {
+        this.loggerRefs = loggerRefs;
+    }
+
+    public RefMetaData getAppenderRef() {
+        return appenderRef;
+    }
+
+    @XmlElement(name = "appender-ref")
+    public void setAppenderRef(final RefMetaData appenderRef) {
+        this.appenderRef = appenderRef;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/GenericObjectMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/GenericObjectMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/GenericObjectMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/GenericObjectMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,57 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import java.util.List;
+import java.util.ArrayList;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlAttribute;
+
+/**
+ *
+ */
+ at XmlType(name = "genericObject", propOrder = {})
+public class GenericObjectMetaData {
+    private List<ParamMetaData> params = new ArrayList<ParamMetaData>();
+    private String className;
+
+    public List<ParamMetaData> getParams() {
+        return params;
+    }
+
+    @XmlElement(name = "param")
+    public void setParams(final List<ParamMetaData> params) {
+        this.params = params;
+    }
+
+    public String getClassName() {
+        return className;
+    }
+
+    @XmlAttribute(name = "class", required = true)
+    public void setClassName(final String className) {
+        this.className = className;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/LevelMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/LevelMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/LevelMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/LevelMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,49 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ *
+ */
+ at XmlType(name = "level", propOrder = {})
+public class LevelMetaData extends GenericObjectMetaData {
+
+    private String value;
+
+    @XmlAttribute(name = "class", required = false)
+    public void setClassName(final String className) {
+        super.setClassName(className);
+    }
+
+    public String getValue() {
+        return value;
+    }
+
+    @XmlAttribute(required = true)
+    public void setValue(final String value) {
+        this.value = value;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/Log4jMetaDataHelper.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Log4jMetaDataHelper.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/Log4jMetaDataHelper.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/Log4jMetaDataHelper.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import org.jboss.beans.metadata.spi.BeanMetaData;
+import java.util.List;
+
+/**
+ *
+ */
+public final class Log4jMetaDataHelper {
+    private Log4jMetaDataHelper() {}
+
+    public static void buildBeanMetaData(List<BeanMetaData> beanMetaDatas, ConfigurationMetaData configurationMetaData) {
+        if (configurationMetaData.getThreshold() != Threshold.NULL) {
+            // todo log ignored msg
+        }
+        if (configurationMetaData.isReset() != false) {
+            // todo log ignored msg
+        }
+        if (configurationMetaData.getDebug() != Debug.NULL) {
+            // todo log ignored msg
+        }
+        
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/LoggerMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/LoggerMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/LoggerMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/LoggerMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,77 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import java.util.List;
+import java.util.ArrayList;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlAttribute;
+
+/**
+ *
+ */
+ at XmlType(name = "logger", propOrder = {})
+public class LoggerMetaData {
+    private LevelMetaData level;
+    private List<RefMetaData> appenderRefs = new ArrayList<RefMetaData>();
+    private String name;
+    private boolean additivity = true;
+
+    public LevelMetaData getLevel() {
+        return level;
+    }
+
+    @XmlElement
+    public void setLevel(final LevelMetaData level) {
+        this.level = level;
+    }
+
+    public List<RefMetaData> getAppenderRefs() {
+        return appenderRefs;
+    }
+
+    @XmlElement(name = "appender-ref")
+    public void setAppenderRefs(final List<RefMetaData> appenderRefs) {
+        this.appenderRefs = appenderRefs;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    @XmlAttribute(required = true)
+    public void setName(final String name) {
+        this.name = name;
+    }
+
+    public boolean isAdditivity() {
+        return additivity;
+    }
+
+    @XmlAttribute
+    public void setAdditivity(final boolean additivity) {
+        this.additivity = additivity;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ParamMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/ParamMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ParamMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/ParamMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlAttribute;
+
+/**
+ *
+ */
+ at XmlType(name = "param", propOrder = {})
+public class ParamMetaData {
+    private String name;
+    private String value;
+
+    public String getName() {
+        return name;
+    }
+
+    @XmlAttribute(required = true)
+    public void setName(final String name) {
+        this.name = name;
+    }
+
+    public String getValue() {
+        return value;
+    }
+
+    @XmlAttribute(required = true)
+    public void setValue(final String value) {
+        this.value = value;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/PluginMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/PluginMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/PluginMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/PluginMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,54 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlAttribute;
+
+/**
+ *
+ */
+ at XmlType(name = "plugin", propOrder = {})
+public class PluginMetaData extends GenericObjectMetaData {
+    private ConnectionSourceMetaData connectionSource;
+    private String name;
+
+    public ConnectionSourceMetaData getConnectionSource() {
+        return connectionSource;
+    }
+
+    @XmlElement
+    public void setConnectionSource(final ConnectionSourceMetaData connectionSource) {
+        this.connectionSource = connectionSource;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    @XmlAttribute(required = true)
+    public void setName(final String name) {
+        this.name = name;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/RefMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RefMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/RefMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/RefMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlAttribute;
+
+/**
+ *
+ */
+ at XmlType(name = "ref", propOrder = {})
+public class RefMetaData {
+    private String ref;
+
+    public String getRef() {
+        return ref;
+    }
+
+    @XmlAttribute(required = true)
+    public void setRef(final String ref) {
+        this.ref = ref;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/RendererMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RendererMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/RendererMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/RendererMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlAttribute;
+
+/**
+ *
+ */
+ at XmlType(name = "renderer", propOrder = {})
+public class RendererMetaData {
+    private String renderedClass;
+    private String renderingClass;
+
+    public String getRenderedClass() {
+        return renderedClass;
+    }
+
+    @XmlAttribute(required = true)
+    public void setRenderedClass(final String renderedClass) {
+        this.renderedClass = renderedClass;
+    }
+
+    public String getRenderingClass() {
+        return renderingClass;
+    }
+
+    @XmlAttribute(required = true)
+    public void setRenderingClass(final String renderingClass) {
+        this.renderingClass = renderingClass;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/RootMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/RootMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/RootMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/RootMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import java.util.List;
+import java.util.ArrayList;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ *
+ */
+ at XmlType(name = "root", propOrder = {})
+public class RootMetaData {
+    private List<ParamMetaData> params = new ArrayList<ParamMetaData>();
+    private LevelMetaData level;
+    private List<RefMetaData> appenderRefs = new ArrayList<RefMetaData>();
+
+    public List<ParamMetaData> getParams() {
+        return params;
+    }
+
+    @XmlElement(name = "param")
+    public void setParams(final List<ParamMetaData> params) {
+        this.params = params;
+    }
+
+    public LevelMetaData getLevel() {
+        return level;
+    }
+
+    @XmlElement(name = "level")
+    public void setLevel(final LevelMetaData level) {
+        this.level = level;
+    }
+
+    public LevelMetaData getPriority() {
+        return level;
+    }
+
+    @XmlElement(name = "priority")
+    public void setPriority(final LevelMetaData priority) {
+        level = priority;
+    }
+
+    public List<RefMetaData> getAppenderRefs() {
+        return appenderRefs;
+    }
+
+    @XmlElement(name = "appender-ref")
+    public void setAppenderRefs(final List<RefMetaData> appenderRefs) {
+        this.appenderRefs = appenderRefs;
+    }
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/Threshold.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/Threshold.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/Threshold.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/Threshold.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+/**
+ *
+ */
+ at XmlEnum
+public enum Threshold {
+    @XmlEnumValue("all")
+    ALL,
+    @XmlEnumValue("trace")
+    TRACE,
+    @XmlEnumValue("debug")
+    DEBUG,
+    @XmlEnumValue("info")
+    INFO,
+    @XmlEnumValue("warn")
+    WARN,
+    @XmlEnumValue("error")
+    ERROR,
+    @XmlEnumValue("fatal")
+    FATAL,
+    @XmlEnumValue("off")
+    OFF,
+    @XmlEnumValue("null")
+    NULL,
+    ;
+}

Copied: projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/TriggeringPolicyMetaData.java (from rev 87213, projects/log-services/trunk/metadata/src/main/java/org/jboss/logging/metadata/log4j/TriggeringPolicyMetaData.java)
===================================================================
--- projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/TriggeringPolicyMetaData.java	                        (rev 0)
+++ projects/log-services/trunk/src/main/java/org/jboss/logging/metadata/log4j/TriggeringPolicyMetaData.java	2009-04-14 00:51:48 UTC (rev 87215)
@@ -0,0 +1,57 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.logging.metadata.log4j;
+
+import java.util.List;
+import java.util.ArrayList;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlAttribute;
+
+/**
+ *
+ */
+ at XmlType(name = "triggeringPolicy", propOrder = {})
+public class TriggeringPolicyMetaData extends GenericObjectMetaData {
+    private List<GenericObjectMetaData> filters = new ArrayList<GenericObjectMetaData>();
+    private String name;
+
+    public List<GenericObjectMetaData> getFilters() {
+        return filters;
+    }
+
+    @XmlElement(name = "filter")
+    public void setFilters(final List<GenericObjectMetaData> filters) {
+        this.filters = filters;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    @XmlAttribute(required = true)
+    public void setName(final String name) {
+        this.name = name;
+    }
+}

Copied: projects/log-services/trunk/src/main/resources (from rev 87213, projects/log-services/trunk/metadata/src/main/resources)




More information about the jboss-cvs-commits mailing list