cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r392969 - /cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/osgi/OSGiSpringBridge.java
Date Mon, 10 Apr 2006 15:38:43 GMT
Author: reinhard
Date: Mon Apr 10 08:38:41 2006
New Revision: 392969

URL: http://svn.apache.org/viewcvs?rev=392969&view=rev
Log:
Skeleton and documentation of the OSGiSpringBridge (DF/RP)

Added:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/osgi/OSGiSpringBridge.java

Added: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/osgi/OSGiSpringBridge.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/osgi/OSGiSpringBridge.java?rev=392969&view=auto
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/osgi/OSGiSpringBridge.java
(added)
+++ cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/core/osgi/OSGiSpringBridge.java
Mon Apr 10 08:38:41 2006
@@ -0,0 +1,54 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * 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.apache.cocoon.core.osgi;
+
+import org.springframework.beans.BeansException;
+import org.springframework.beans.factory.BeanFactory;
+import org.springframework.beans.factory.NoSuchBeanDefinitionException;
+
+/**
+ * The {@link OSGiSpringBridge} is used to provide OSGi services as Spring beans.
+ * It can also be used as parent bean factory for {@link OSGiSpringECMFactory} services.
+ * 
+ * @version $Id$
+ */
+public class OSGiSpringBridge implements BeanFactory {
+
+	public boolean containsBean(String arg0) {
+		return false;
+	}
+
+	public String[] getAliases(String arg0) throws NoSuchBeanDefinitionException {
+		return null;
+	}
+
+	public Object getBean(String arg0) throws BeansException {
+		return null;
+	}
+
+	public Object getBean(String arg0, Class arg1) throws BeansException {
+		return null;
+	}
+
+	public Class getType(String arg0) throws NoSuchBeanDefinitionException {
+		return null;
+	}
+
+	public boolean isSingleton(String arg0) throws NoSuchBeanDefinitionException {
+		return false;
+	}
+
+}



Mime
View raw message