X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=server%2Fruntime%2Forg.argeo.server.webextender%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fserver%2Fcatalina%2FOsgiCatalina.java;fp=server%2Fruntime%2Forg.argeo.server.webextender%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fserver%2Fcatalina%2FOsgiCatalina.java;h=f07b9c5d1243e3eaa8cc5511254eb471b2dd61c2;hb=13893134219a45ed91c340c89dbd75269d21da16;hp=0000000000000000000000000000000000000000;hpb=e1e76de107e054371fab6b517dcc5be621ebffc0;p=lgpl%2Fargeo-commons.git diff --git a/server/runtime/org.argeo.server.webextender/src/main/java/org/argeo/server/catalina/OsgiCatalina.java b/server/runtime/org.argeo.server.webextender/src/main/java/org/argeo/server/catalina/OsgiCatalina.java new file mode 100644 index 000000000..f07b9c5d1 --- /dev/null +++ b/server/runtime/org.argeo.server.webextender/src/main/java/org/argeo/server/catalina/OsgiCatalina.java @@ -0,0 +1,34 @@ +/* + * Copyright 2006-2008 the original author or authors. + * + * Licensed 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. + */ + +package org.argeo.server.catalina; + +import org.apache.catalina.Server; +import org.apache.catalina.startup.Catalina; + +/** + * OSGi extension of Catalina class used for easy access to the underlying + * configuration. + * + * @author Costin Leau + * + */ +public class OsgiCatalina extends Catalina { + + public Server getServer() { + return server; + } +}