# ---------------------------------------------------------------------------
# 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: javaee-api.bnd 20047 2010-07-02 07:45:58Z benoitf $
# ---------------------------------------------------------------------------

# javax.xml.namespace got from the JDK.
# com.ibm , ..not needed (?)
# Ensure consistency by forcing import on interceptor 1.0 (if 1.1 is here,
# wire will be created between this bundle and the interceptor 1.1 bundle)
Import-Package !javax.activation.*,\
               !com.sun.org.apache.*,\
               !com.ibm.*,\
               javax.interceptor.*;version=1.0,\
               javax.xml.namespace,\
               *

# These resources must be present. They cannot be exported.
Include-Resource @mail-1.4.jar!/META-INF/javamail.default.providers, \
                 @mail-1.4.jar!/META-INF/javamail.default.address.map, \
                 @mail-1.4.jar!/META-INF/javamail.charset.map, \
                 @mail-1.4.jar!/META-INF/mailcap

# List of packages exported by the bundle.
# TODO mail and activation implementations should be in jonas-mail
Export-Package com.ibm.wsdl.*,\
               com.sun.activation.*,\
               com.sun.mail.*,\
               javax.activation.*;version=1.1,\
               javax.annotation.*;version=1.0,\
               javax.faces.*;version=1.2;-split-package:=merge-first,\
               javax.ejb.*;version=3.0,\
               javax.el.*;version=2.1,\
               javax.enterprise.deploy.*;version=1.2,\
               javax.interceptor;version=1.0,\
               javax.jms.*;version=1.1,\
               javax.jws.*;version=2.0,\
               javax.mail.*;version=1.4,\
               javax.management.j2ee.*;version=1.2,\
               javax.persistence.*;version=1.0,\
               javax.resource.*;version=1.5,\
               javax.security.jacc;version=1.1,\
               javax.servlet.jsp.*;version=2.1,\
               javax.servlet.*;version=2.5,\
               javax.transaction.*;version=1.1.0,\
               javax.wsdl.*;version=1.2,\
               javax.xml.bind.*;version=2.1;-split-package:=merge-first,\
               javax.xml.rpc.*;version=1.1,\
               javax.xml.soap.*;version=1.3,\
               javax.xml.stream.*;version=1.0,\
               javax.xml.ws.*;version=2.1,\
               javax.*;-split-package:=merge-first,\
               org.apache.taglibs.*;version=2.1;-split-package:=merge-first      

# Private package (Some OSGi utility to help SPI loading)
Private-Package org.apache.servicemix.specs.locator

Bundle-Activator org.apache.servicemix.specs.locator.Activator

# JSTL Taglib may import JDBC Drivers and we don't know the name of the JDBC Driver, so we need the wildcard.
DynamicImport-Package *
