You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/02/17 17:03:57 UTC
svn commit: r628498 - in
/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra:
./ connectionManager/ conversation/ conversation/servlet/
conversation/spring/ frameworkAdapter/ frameworkAdapter/jsf/ lib/ lib/jsf/
requestParameterProv...
Author: skitching
Date: Sun Feb 17 08:03:55 2008
New Revision: 628498
URL: http://svn.apache.org/viewvc?rev=628498&view=rev
Log:
Fix license headers, add since tags.
Modified:
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/CoreConfig.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/connectionManager/package.html
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationContext.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationUtils.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/servlet/ConversationManagerSessionListener.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/AbstractSpringOrchestraScope.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/ScopedBeanTargetSource.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/_SpringUtils.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/frameworkAdapter/_FrameworkAdapterUtils.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/frameworkAdapter/jsf/JsfFrameworkAdapter.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_ClassUtils.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_NullFilter.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_ReentrantLock.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ConfigUtils.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ContextLockRequestHandler.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ConversationManagerRequestHandler.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/DataSourceLeakRequestHandler.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/FrameworkAdapterRequestHandler.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/RequestHandler.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/RequestParameterResponseWrapper.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/package.html
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/urlParamNav/package.html
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/jsf/ViewControllerPhaseListener.java
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/package.html
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/CoreConfig.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/CoreConfig.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/CoreConfig.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/CoreConfig.java Sun Feb 17 08:03:55 2008
@@ -22,12 +22,16 @@
/**
* A place to define all the configuration constants that can be used to
* configure parts of Orchestra core.
+ *
+ * @since 1.1
*/
public final class CoreConfig
{
private static final String BASE = CoreConfig.class.getName();
/**
+ * Value "org.apache.myfaces.orchestra.CoreConfig:SERIALIZE_REQUESTS".
+ * <p>
* Controls whether two threads are prevented from accessing the same
* ConversationContext concurrently, or not. This is generally a bad idea as it
* can lead to ugly race conditions, so it is TRUE by default.
@@ -59,6 +63,8 @@
public static final String SERIALIZE_REQUESTS = BASE + ":SERIALIZE_REQUESTS";
/**
+ * Value "org.apache.myfaces.orchestra.CoreConfig:CLEANUP_CONNECTIONS".
+ * <p>
* Controls whether Orchestra should monitor the set of JDBC connections borrowed
* during a request, and clean up any that are still open at the end of the request.
* <p>
@@ -75,6 +81,8 @@
public static final String CLEANUP_CONNECTIONS = BASE + ":CLEANUP_CONNECTIONS";
/**
+ * Value "org.apache.myfaces.orchestra.CoreConfig:CONVERSATION_MESSAGER".
+ * <p>
* Controls what class is used to present Orchestra-related error messages to
* the user. When not specified, the default implementation for the current
* FrameworkAdapter (eg JsfFrameworkAdapter) is used.
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/connectionManager/package.html
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/connectionManager/package.html?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/connectionManager/package.html (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/connectionManager/package.html Sun Feb 17 08:03:55 2008
@@ -1,3 +1,21 @@
+<!--
+
+ 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.
+
+-->
<html>
<body>
The purpose of this package is to provide a DataSource implementation that can be wrapped around a
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationContext.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationContext.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationContext.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationContext.java Sun Feb 17 08:03:55 2008
@@ -333,6 +333,8 @@
* If this method is called, then an equal number of calls to
* unlockForCurrentThread <b>MUST</b> made, or this context object
* will remain locked until the http session times out.
+ *
+ * @since 1.1
*/
public void lockInterruptablyForCurrentThread() throws InterruptedException
{
@@ -342,6 +344,8 @@
/**
* Block until no other thread has this instance marked as reserved, then
* mark the object as reserved for this thread.
+ *
+ * @since 1.1
*/
public void unlockForCurrentThread()
{
@@ -350,6 +354,8 @@
/**
* Return true if this object is currently locked by the calling thread.
+ *
+ * @since 1.1
*/
public boolean isLockedForCurrentThread()
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationUtils.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationUtils.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationUtils.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationUtils.java Sun Feb 17 08:03:55 2008
@@ -62,6 +62,8 @@
* Therefore, when a bean wishes to pass a reference to itself elsewhere then it should
* use this method rather than passing "this" directly. It is acknowledged that this is
* less than ideal as it does couple code to Orchestra.
+ *
+ * @since 1.1
*/
/*
@@ -84,8 +86,7 @@
* proxy for the bean (whatever it is) that will run the interceptors for the current
* conversation on entry/exit to that bean's methods. This then makes the method
* more generically useful, as it can wrap all sorts of objects rather than just
- * the conversation-scoped beans themselves. This can only be done with interceptors,
- * however, as the
+ * the conversation-scoped beans themselves.
*/
public static Object getCurrentBean()
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/servlet/ConversationManagerSessionListener.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/servlet/ConversationManagerSessionListener.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/servlet/ConversationManagerSessionListener.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/servlet/ConversationManagerSessionListener.java Sun Feb 17 08:03:55 2008
@@ -152,6 +152,14 @@
}
}
+ /**
+ * Run by the servlet container after deserializing an HttpSession.
+ * <p>
+ * This method tells the current ConversationWiperThread instance to start
+ * monitoring all ConversationManager objects in the deserialized session.
+ *
+ * @since 1.1
+ */
public void sessionDidActivate(HttpSessionEvent se)
{
// Reattach any ConversationManager objects in the session to the conversationWiperThread
@@ -178,6 +186,14 @@
}
}
+ /**
+ * Run by the servlet container before serializing an HttpSession.
+ * <p>
+ * This method tells the current ConversationWiperThread instance to stop
+ * monitoring all ConversationManager objects in the serialized session.
+ *
+ * @since 1.1
+ */
public void sessionWillPassivate(HttpSessionEvent se)
{
// Detach all ConversationManager objects in the session from the conversationWiperThread.
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/AbstractSpringOrchestraScope.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/AbstractSpringOrchestraScope.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/AbstractSpringOrchestraScope.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/AbstractSpringOrchestraScope.java Sun Feb 17 08:03:55 2008
@@ -97,6 +97,9 @@
this.advices = advices;
}
+ /**
+ * @since 1.1
+ */
protected Advice[] getAdvices()
{
return advices;
@@ -114,6 +117,8 @@
* proxying for specific beans if desired.
* <p>
* This defaults to true.
+ *
+ * @since 1.1
*/
public void setAutoProxy(boolean state)
{
@@ -222,6 +227,8 @@
* There is a separate proxy instance per beandef (shared across all
* instances of that bean). This instance is created when first needed,
* and cached for reuse.
+ *
+ * @since 1.1
*/
protected Object getProxy(String beanName, ObjectFactory objectFactory)
{
@@ -292,6 +299,8 @@
*
* @param conversationName
* @param beanName is the key within the conversation of the bean we are interested in.
+ *
+ * @since 1.1
*/
protected Object getRealBean(String conversationName, String beanName, ObjectFactory objectFactory)
{
@@ -417,6 +426,8 @@
* <p>
* When a bean <i>instance</i> is created by Spring, it always runs every single BeanPostProcessor
* that has been registered with it.
+ *
+ * @since 1.1
*/
public void defineBeanPostProcessors(ConfigurableListableBeanFactory cbf) throws BeansException
{
@@ -503,6 +514,8 @@
* <p>
* This is a separate method so that subclasses can determine conversation names via alternate methods.
* In particular, a subclass may want to look for an annotation on the class specified by the definition.
+ *
+ * @since 1.1
*/
protected String getExplicitConversationName(BeanDefinition beanDef)
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/ScopedBeanTargetSource.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/ScopedBeanTargetSource.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/ScopedBeanTargetSource.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/ScopedBeanTargetSource.java Sun Feb 17 08:03:55 2008
@@ -40,6 +40,8 @@
* be serialized too. But the "scope" and "objectFactory" members here are not
* serializable. Somehow instances of this class need enough information to
* relocate the appropriate objects on deserialization.
+ *
+ * @since 1.1
*/
public class ScopedBeanTargetSource extends AbstractBeanFactoryBasedTargetSource {
private AbstractSpringOrchestraScope scope;
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/_SpringUtils.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/_SpringUtils.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/_SpringUtils.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/_SpringUtils.java Sun Feb 17 08:03:55 2008
@@ -60,6 +60,8 @@
* Using this pattern is very common with Orchestra, so we need to detect it and
* look for orchestra settings on the renamed bean definition rather than the
* one with the original name.
+ *
+ * @since 1.1
*/
public static boolean isModifiedBeanName(String beanName)
{
@@ -71,6 +73,8 @@
* by spring because an aop:scoped-proxy is now wrapping this object,
* then return the name of that scoped-proxy bean (ie the name that the
* user accesses this bean by).
+ *
+ * @since 1.1
*/
public static String getOriginalBeanName(String beanName)
{
@@ -86,6 +90,8 @@
* Given a bean name "foo", if it refers to a scoped proxy then the bean
* definition that holds the original settings is now under another name,
* so return that other name so the original BeanDefinition can be found.
+ *
+ * @since 1.1
*/
public static String getModifiedBeanName(String beanName)
{
@@ -122,6 +128,8 @@
* <p>
* The proxy returned currently also currently implements the standard Spring
* ScopedObject interface; this is experimental and may be removed if not useful.
+ *
+ * @since 1.1
*/
public static Object newProxy(
AbstractSpringOrchestraScope scope,
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/frameworkAdapter/_FrameworkAdapterUtils.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/frameworkAdapter/_FrameworkAdapterUtils.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/frameworkAdapter/_FrameworkAdapterUtils.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/frameworkAdapter/_FrameworkAdapterUtils.java Sun Feb 17 08:03:55 2008
@@ -24,6 +24,8 @@
/**
* Utility methods for the internal use of Orchestra only.
+ *
+ * @since 1.1
*/
public abstract class _FrameworkAdapterUtils
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/frameworkAdapter/jsf/JsfFrameworkAdapter.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/frameworkAdapter/jsf/JsfFrameworkAdapter.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/frameworkAdapter/jsf/JsfFrameworkAdapter.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/frameworkAdapter/jsf/JsfFrameworkAdapter.java Sun Feb 17 08:03:55 2008
@@ -46,12 +46,24 @@
setConversationMessager(cm);
}
+ /**
+ * This method should be invoked at the start of each JSF request cycle, before any Orchestra
+ * functionality is invoked.
+ *
+ * @since 1.1
+ */
public void beginRequest()
{
log.debug("Beginning request");
FrameworkAdapter.setCurrentInstance(this);
}
+ /**
+ * This method should be invoked at the end of each JSF request cycle, after the last
+ * Orchestra functionality is invoked.
+ *
+ * @since 1.1
+ */
public void endRequest()
{
log.debug("Ending request");
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_ClassUtils.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_ClassUtils.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_ClassUtils.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_ClassUtils.java Sun Feb 17 08:03:55 2008
@@ -33,7 +33,9 @@
}
/**
- * create a new instance for a class by its name
+ * Create a new instance for a class by its name
+ *
+ * @since 1.1
*/
public static Object newInstance(Class clazz)
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_NullFilter.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_NullFilter.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_NullFilter.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_NullFilter.java Sun Feb 17 08:03:55 2008
@@ -30,6 +30,8 @@
/**
* A filter that does absolutely nothing. Can be used with the CompoundFilter.
+ *
+ * @since 1.1
*/
public final class _NullFilter implements Filter
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_ReentrantLock.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_ReentrantLock.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_ReentrantLock.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/_ReentrantLock.java Sun Feb 17 08:03:55 2008
@@ -32,6 +32,8 @@
* it is equivalent to the Java 1.5 ReentrantLock class. It probably
* doesn't perform as well as the "real" lock class, but Orchestra
* doesn't use it in any critical paths.
+ *
+ * @since 1.1
*/
public class _ReentrantLock implements java.io.Serializable {
private static final long serialVersionUID = 7373984872572414699L;
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ConfigUtils.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ConfigUtils.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ConfigUtils.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ConfigUtils.java Sun Feb 17 08:03:55 2008
@@ -25,6 +25,8 @@
/**
* Utility methods for configuring the behaviour of a JSF-based Orchestra installation.
+ *
+ * @since 1.1
*/
public abstract class ConfigUtils
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ContextLockRequestHandler.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ContextLockRequestHandler.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ContextLockRequestHandler.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ContextLockRequestHandler.java Sun Feb 17 08:03:55 2008
@@ -31,6 +31,8 @@
/**
* RequestHandler that ensures that only one thread is processing
* each ConversationContext at a time.
+ *
+ * @since 1.1
*/
class ContextLockRequestHandler implements RequestHandler
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ConversationManagerRequestHandler.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ConversationManagerRequestHandler.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ConversationManagerRequestHandler.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/ConversationManagerRequestHandler.java Sun Feb 17 08:03:55 2008
@@ -26,6 +26,8 @@
/**
* RequestHandler that simply ensures that a ConversationManager exists
* for the current user at the start of a request.
+ *
+ * @since 1.1
*/
class ConversationManagerRequestHandler implements RequestHandler
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/DataSourceLeakRequestHandler.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/DataSourceLeakRequestHandler.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/DataSourceLeakRequestHandler.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/DataSourceLeakRequestHandler.java Sun Feb 17 08:03:55 2008
@@ -27,6 +27,8 @@
/**
* RequestHandler that ensures that any jdbc connections allocated during
* the course of this request are freed at the end.
+ *
+ * @since 1.1
*/
class DataSourceLeakRequestHandler implements RequestHandler
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/FrameworkAdapterRequestHandler.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/FrameworkAdapterRequestHandler.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/FrameworkAdapterRequestHandler.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/FrameworkAdapterRequestHandler.java Sun Feb 17 08:03:55 2008
@@ -30,6 +30,8 @@
/**
* RequestHandler that ensures that the FrameworkAdapter is initialised as a JsfFrameworkAdapter.
+ *
+ * @since 1.1
*/
class FrameworkAdapterRequestHandler implements RequestHandler
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/RequestHandler.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/RequestHandler.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/RequestHandler.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/lib/jsf/RequestHandler.java Sun Feb 17 08:03:55 2008
@@ -24,6 +24,8 @@
/**
* An interface for classes that want to be run at the start and end
* of each jsf request.
+ *
+ * @since 1.1
*/
public interface RequestHandler
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/RequestParameterResponseWrapper.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/RequestParameterResponseWrapper.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/RequestParameterResponseWrapper.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/RequestParameterResponseWrapper.java Sun Feb 17 08:03:55 2008
@@ -51,6 +51,7 @@
* The inherited implementation of this method calls super.encodeUrl(url)
* directly, which would bypass our custom code.
*
+ * @since 1.1
* @deprecated
*/
public String encodeUrl(String url)
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/package.html
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/package.html?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/package.html (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/package.html Sun Feb 17 08:03:55 2008
@@ -1,3 +1,21 @@
+<!--
+
+ 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.
+
+-->
<html>
<body>
This package provides the ability for objects to add query parameters to every URL output in
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/urlParamNav/package.html
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/urlParamNav/package.html?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/urlParamNav/package.html (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/urlParamNav/package.html Sun Feb 17 08:03:55 2008
@@ -1,3 +1,21 @@
+<!--
+
+ 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.
+
+-->
<html>
<body>
This JSF-specific package helps JSF applications produce "bookmarkable" views.
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/jsf/ViewControllerPhaseListener.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/jsf/ViewControllerPhaseListener.java?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/jsf/ViewControllerPhaseListener.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/jsf/ViewControllerPhaseListener.java Sun Feb 17 08:03:55 2008
@@ -52,6 +52,9 @@
{
private static final long serialVersionUID = -3975277433747722402L;
+ /**
+ * @since 1.1
+ */
public static class ViewControllerPhaseListenerState
{
private Set initedViews = new TreeSet();
@@ -164,6 +167,7 @@
/**
* invokes the initView method on your view controller
+ * @since 1.1
*/
protected void executeInitView(FacesContext facesContext)
{
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/package.html
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/package.html?rev=628498&r1=628497&r2=628498&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/package.html (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/viewController/package.html Sun Feb 17 08:03:55 2008
@@ -1,3 +1,21 @@
+<!--
+
+ 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.
+
+-->
<html>
<body>
Provide lifecycle callbacks (on view creation, pre-render, etc) for managed beans.