# ---------------------------------------------------------------------------
# JOnAS: Java(TM) Open Application Server
# Copyright (C) 2007 Bull S.A.S.
# Contact: jonas-team@ow2.org
#
# This library 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 any later version.
#
# This library 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 library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
# USA
# ---------------------------------------------------------------------------
# $Id: monolog.bnd 15349 2008-10-03 10:06:11Z benoitf $
# ---------------------------------------------------------------------------

# Empty export package list
Export-Package

# FIXME Reduce exported packages list
-exportcontents org.objectweb.util.monolog.api.*,\
                org.objectweb.util.monolog.file.*,\
                org.objectweb.util.monolog.wrapper.printwriter,\
                org.objectweb.util.monolog.wrapper.p6spy,\
                org.objectweb.util.monolog.wrapper.javaLog,\
                org.objectweb.util.monolog.wrapper.velocity,\
                org.objectweb.util.monolog

# Just to clear some warnings
Private-Package !*

# P6Spy and Log4J are optional
Import-Package com.p6spy.*;resolution:=optional,\
               org.apache.*;resolution:=optional,\
               org.objectweb.util.monolog.wrapper.log4jMini;resolution:=optional,\
               *

Embed-Dependency monolog;inline=true

# Allow to resolve P6Spy/Velocity and Log4J if bundles are provided after the start of the Monolog Bundle
DynamicImport-Package com.p6spy.*,\
                      org.apache.*
