You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mf...@apache.org on 2012/03/15 22:58:19 UTC

svn commit: r1301225 - /myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/

Author: mfreedman
Date: Thu Mar 15 21:58:18 2012
New Revision: 1301225

URL: http://svn.apache.org/viewvc?rev=1301225&view=rev
Log:
Forgot to include in original checkin.

Added:
    myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/
    myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeConfigFactoryImpl.java
    myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeContextFactoryImpl.java
    myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeControllerFactoryImpl.java
    myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeLoggerFactoryImpl.java
    myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeRequestScopeFactoryImpl.java
    myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeRequestScopeManagerFactoryImpl.java

Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeConfigFactoryImpl.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeConfigFactoryImpl.java?rev=1301225&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeConfigFactoryImpl.java (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeConfigFactoryImpl.java Thu Mar 15 21:58:18 2012
@@ -0,0 +1,35 @@
+ /* 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.
+  *
+  */
+package org.apache.myfaces.portlet.faces.bridge.factory;
+
+import javax.faces.FacesException;
+
+import org.apache.myfaces.portlet.faces.bridge.config.BridgeConfig;
+import org.apache.myfaces.portlet.faces.bridge.config.BridgeConfigImpl;
+
+
+public class BridgeConfigFactoryImpl extends BridgeConfigFactory
+{
+
+	public BridgeConfig getBridgeConfig() throws FacesException
+  {
+    return new BridgeConfigImpl();
+  }
+  
+}

Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeContextFactoryImpl.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeContextFactoryImpl.java?rev=1301225&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeContextFactoryImpl.java (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeContextFactoryImpl.java Thu Mar 15 21:58:18 2012
@@ -0,0 +1,36 @@
+ /* 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.
+  *
+  */
+package org.apache.myfaces.portlet.faces.bridge.factory;
+
+import javax.faces.FacesException;
+import javax.faces.FacesWrapper;
+
+import org.apache.myfaces.portlet.faces.bridge.context.BridgeContext;
+import org.apache.myfaces.portlet.faces.bridge.context.BridgeContextImpl;
+
+
+public class BridgeContextFactoryImpl extends BridgeContextFactory
+{
+
+	public BridgeContext getBridgeContext() throws FacesException
+  {
+    return new BridgeContextImpl();
+  }
+
+}

Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeControllerFactoryImpl.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeControllerFactoryImpl.java?rev=1301225&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeControllerFactoryImpl.java (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeControllerFactoryImpl.java Thu Mar 15 21:58:18 2012
@@ -0,0 +1,39 @@
+ /* 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.
+  *
+  */
+package org.apache.myfaces.portlet.faces.bridge.factory;
+
+import javax.faces.FacesException;
+
+import org.apache.myfaces.portlet.faces.bridge.controller.BridgeController;
+import org.apache.myfaces.portlet.faces.bridge.controller.BridgeControllerImpl;
+
+
+public class BridgeControllerFactoryImpl extends BridgeControllerFactory
+{
+
+	public BridgeController getBridgeController() throws FacesException
+  {
+    return new BridgeControllerImpl();
+  }
+
+	public BridgeControllerFactory getWrapped()
+  {
+		return null;
+	}
+}

Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeLoggerFactoryImpl.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeLoggerFactoryImpl.java?rev=1301225&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeLoggerFactoryImpl.java (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeLoggerFactoryImpl.java Thu Mar 15 21:58:18 2012
@@ -0,0 +1,41 @@
+ /* 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.
+  *
+  */
+package org.apache.myfaces.portlet.faces.bridge.factory;
+
+import javax.faces.FacesException;
+
+import org.apache.myfaces.portlet.faces.bridge.config.BridgeConfig;
+import org.apache.myfaces.portlet.faces.bridge.config.BridgeConfigImpl;
+import org.apache.myfaces.portlet.faces.bridge.logger.BridgeLogger;
+import org.apache.myfaces.portlet.faces.bridge.logger.BridgeLoggerImpl;
+
+
+public class BridgeLoggerFactoryImpl extends BridgeLoggerFactory
+{
+
+	public BridgeLogger getBridgeLogger(BridgeConfig config) throws FacesException
+  {
+    return new BridgeLoggerImpl(config);
+  }
+
+	public BridgeLoggerFactory getWrapped()
+  {
+		return null;
+	}
+}

Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeRequestScopeFactoryImpl.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeRequestScopeFactoryImpl.java?rev=1301225&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeRequestScopeFactoryImpl.java (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeRequestScopeFactoryImpl.java Thu Mar 15 21:58:18 2012
@@ -0,0 +1,56 @@
+ /* 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.
+  *
+  */
+package org.apache.myfaces.portlet.faces.bridge.factory;
+
+import java.util.Map;
+
+import javax.faces.FacesException;
+
+import org.apache.myfaces.portlet.faces.bridge.scope.BridgeRequestScope;
+import org.apache.myfaces.portlet.faces.bridge.scope.BridgeRequestScopeImpl;
+
+
+public class BridgeRequestScopeFactoryImpl extends BridgeRequestScopeFactory
+{
+
+	public BridgeRequestScope getBridgeRequestScope(String portletId, String sessionId, String viewId, String portletMode) throws FacesException
+  {
+    return new BridgeRequestScopeImpl(portletId, sessionId, viewId, portletMode);
+  }
+  
+  public BridgeRequestScope getBridgeRequestScope(String portletId, String sessionId, String viewId, String portletMode, int initialCapacity) throws FacesException
+  {
+    return new BridgeRequestScopeImpl(portletId, sessionId, viewId, portletMode, initialCapacity);
+  }
+  
+  public BridgeRequestScope getBridgeRequestScope(String portletId, String sessionId, String viewId, String portletMode, int initialCapacity, float loadFactor, int concurrencyLevel) throws FacesException
+  {
+    return new BridgeRequestScopeImpl(portletId, sessionId, viewId, portletMode, initialCapacity, loadFactor, concurrencyLevel);   
+  }
+  
+  public BridgeRequestScope getBridgeRequestScope(String portletId, String sessionId, String viewId, String portletMode, Map<String,Object> t) throws FacesException
+  {
+    return new BridgeRequestScopeImpl(portletId, sessionId, viewId, portletMode, t);   
+  }
+
+	public BridgeRequestScopeFactory getWrapped()
+  {
+		return null;
+	}
+}

Added: myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeRequestScopeManagerFactoryImpl.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeRequestScopeManagerFactoryImpl.java?rev=1301225&view=auto
==============================================================================
--- myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeRequestScopeManagerFactoryImpl.java (added)
+++ myfaces/portlet-bridge/core/branches/refactored_3.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/bridge/factory/BridgeRequestScopeManagerFactoryImpl.java Thu Mar 15 21:58:18 2012
@@ -0,0 +1,40 @@
+ /* 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.
+  *
+  */
+package org.apache.myfaces.portlet.faces.bridge.factory;
+
+import javax.faces.FacesException;
+
+import org.apache.myfaces.portlet.faces.bridge.config.BridgeConfig;
+import org.apache.myfaces.portlet.faces.bridge.scope.BridgeRequestScopeManager;
+import org.apache.myfaces.portlet.faces.bridge.scope.BridgeRequestScopeManagerImpl;
+
+
+public class BridgeRequestScopeManagerFactoryImpl extends BridgeRequestScopeManagerFactory
+{
+
+	public BridgeRequestScopeManager getBridgeRequestScopeManager(BridgeConfig bConfig) throws FacesException
+  {
+    return new BridgeRequestScopeManagerImpl(bConfig);
+  }
+
+	public BridgeRequestScopeManagerFactory getWrapped()
+  {
+		return null;
+	}
+}