blob: a70e65368c9ce0c1c40cf987f74848da08408861 [file] [log] [blame]
/*
Derby - Class module-info
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/**
* <p>
* The Derby network server wraps the engine in a DRDA protocol
* driver. In this configuration, clients on remote machines can access
* Derby databases. The optional engine modules can be added to this
* configuration to provide their extra functionality.
* </p>
*
* <p><b>Module Diagram:</b></p>
*
* <div style="text-align:center;">
* <img
* src="server.svg"
* alt="module diagram for org.apache.derby.server"
* style="border:2px solid #000000"
* />
* </div>
*
*/
module org.apache.derby.server
{
//
// MANDATORY IMPORTS
//
requires java.base;
requires java.sql;
requires org.apache.derby.engine;
requires org.apache.derby.tools;
requires org.apache.derby.commons;
//
// OPTIONAL IMPORTS
//
// REQUIRED AT COMPILE-TIME.
// OPTIONAL AT RUN-TIME.
//
// NetServlet needs Java EE, which has not been modularized yet.
requires static geronimo.spec.servlet;
//
// PUBLIC API
//
exports org.apache.derby.drda;
exports org.apache.derby.mbeans.drda;
//
// SUPPORT MODULE LOOKUP
//
provides org.apache.derby.shared.api.DerbyModuleAPI
with org.apache.derby.info.net.DerbyModule;
//
// FIXME: We have to open this package to reflective access
// so that the server can read its default policy file.
//
opens org.apache.derby.drda;
//
// ALLOW REFLECTIVE ACCESS TO MESSAGE FILES
//
opens org.apache.derby.loc.drda;
//
// DERBY INTERNAL EXPORTS
//
// ONLY VISIBLE TO OTHER DERBY MODULES.
//
exports org.apache.derby.impl.drda to
org.apache.derby.engine,
org.apache.derby.tests;
}