From f3d99a9ec2c1edb5f2f3439dbe36a1cec72f6ceb Mon Sep 17 00:00:00 2001 From: Marko Lahma Date: Sun, 13 Jan 2013 11:06:24 +0200 Subject: [PATCH] Delete and add to .gitignore Spring.Web.Conversation.NHibernate*.xml --- .gitignore | 2 + .../Spring.Web.Conversation.NHibernate32.xml | 958 ------------------ .../Spring.Web.Conversation.NHibernate33.XML | 958 ------------------ 3 files changed, 2 insertions(+), 1916 deletions(-) delete mode 100644 src/Spring/Spring.Web.Conversation.NHibernate32/Spring.Web.Conversation.NHibernate32.xml delete mode 100644 src/Spring/Spring.Web.Conversation.NHibernate33/Spring.Web.Conversation.NHibernate33.XML diff --git a/.gitignore b/.gitignore index 99033595..011e714b 100644 --- a/.gitignore +++ b/.gitignore @@ -65,6 +65,8 @@ PrecompiledWeb /src/Spring/Spring.Messaging/Spring.Messaging.xml /src/Spring/Spring.Data/Spring.Data.xml /src/Spring/Spring.Web/Spring.Web.xml +/src/Spring/Spring.Web.Conversation.NHibernate32/Spring.Web.Conversation.NHibernate32.xml +/src/Spring/Spring.Web.Conversation.NHibernate33/Spring.Web.Conversation.NHibernate33.xml /src/Spring/Spring.Web.Mvc/Spring.Web.Mvc.xml /src/Spring/Spring.Web.Mvc3/Spring.Web.Mvc3.xml /src/Spring/Spring.Web.Mvc4/Spring.Web.Mvc4.xml diff --git a/src/Spring/Spring.Web.Conversation.NHibernate32/Spring.Web.Conversation.NHibernate32.xml b/src/Spring/Spring.Web.Conversation.NHibernate32/Spring.Web.Conversation.NHibernate32.xml deleted file mode 100644 index 6666fa98..00000000 --- a/src/Spring/Spring.Web.Conversation.NHibernate32/Spring.Web.Conversation.NHibernate32.xml +++ /dev/null @@ -1,958 +0,0 @@ - - - - Spring.Web.Conversation.NHibernate32 - - - - - Based on - for support of 'session-per-conversation' pattern. - - Hailton de Castro - - - - The logging instance. - - - - - Initializes a new instance of the class. - Uses default values for - - - - - Initializes a new instance of the class. - - Specify the to be set on each session provided by this instance. - Specify the flushmode to be applied on each session provided by this instance. - - - - - Initializes a new instance of the class. - - An instance holding the scope configuration - - - - Sets a flag, whether this scope is in "open" state on the current logical thread. - - - - - - NOOP. - - - - - Open a new session or reconect the - in . - Participating in an existing session registed with - is not alowed. - - - - - - If there is another conversation with a with opened - . - If attempting to participate in an existing NHibernate - managed by . - - - - - - - Close the current view's session and unregisters - from . - - The session factory that on use - A list of conversations which the session can be closed or disconnected - - - If start/resume a conversation from a - when exists a different - with open registered on - - If the holder on , is not a . - - - - - - Gets the flushmode to be applied on each newly created session. - - - This property defaults to to ensure that modifying objects outside the boundaries - of a transaction will not be persisted. It is recommended to not change this value but wrap any modifying operation - within a transaction. - - - - - Get the configured EntityInterceptor - - - - - Id for conversation that open the Session. - - - - - Gets a flag, whether this scope is in "open" state on the current logical thread. - - - - - This sessionHolder creates a session for the active conversation only if it is - needed (). - - - Although a NHibernateSession defers creation of db-connections until they are really - needed, instantiation a session is still more expensive than using LazySessionHolder. - - - - - Initialize a new instance. - - - - - Create a new session on demand - - - - - Port to conversation. If the object is not found in the current - conversation, will be tried on the parent if the parent is - not null. - - - If is different from spring name for this instance. - - Hailton de Castro - - - - Starts or resumes the conversation and the . - If is not null, so - is called to - Raise SessionHolder for make the reconnection. - - Make return false. - - Update the . - - - - - If this conversation is ended. - - If is not null and - different from - - - - - - - - Ends the conversation. End each of the 'inner conversations' in - . Returns false if the - conversation and all of - has already been ended. - - - - - If . - Session["spring.objects"] - is null. - - The 'spring session scopes' are not located in the key - 'spring.objects' of HttpSessionState. - - - - - - - Starts or resumes the conversation and each 'inner conversation' in - . - It is not about 'Session-per-conversation' because it is done by - . - - - - - Conversation id. - - - - - Return true until is called. - - - - - Return true if this conversation is ended. - - - - - Inner conversation. After added if the - is null it will resolve to 'this'. - - at - , - , - - if Circular Dependency is detected. - - - - Conversation parent. - - - - If this conversation already has a different parent. - - If this Conversation is not new. - - If Circular Dependency is detected. - - The Parent conversation is not new. - - - - - - - TimeOut for the conversation in milliseconds. - If 0 TimeOut will be ignored. - - - - - Last acces for a value into this Conversation or Inner Conversation. - Reset to DateTime.Now each time - is called. - - - - - Conversation Manager. When this is setted if - - returns null so AddConversation is called. - - - - - that is stored in the root conversation. - - - must support 'session-per-conversation'. - - - - - - If this is non-null run pattern 'session-per-conversation'. - It also depends on and . - must support ConversationManager. - - - - - - If this is non-null run pattern 'session-per-conversation'. - It also depends on and . - must support ConversationManager. - - - - - - Indicates that the conversation is paused. - - - - - manager for Conversations. - - Hailton de Castro - - - - Returns the conversation if it is still alive, otherwise it returns null. - - - - - - - Ends all conversations with the timeout exceeded. - - - - - Close IDbConnections for that - use 'session-per-conversation'. It calls - in all conversations. - - - - - Release the ended conversations And removes them. - If the conversation supports 'session-per-conversation', also close the session. - - - - - Add conversation. If is null - it resolves to 'this'. - - - - If already has another manager. - - - - - Makes the 'root conversation' of - the current active conversation and open/reopen the - if - the conversation supports 'session-per-conversation'. Close all - the connection for all session before. - If is true will end all - paused conversations. - - - - - Returns the active conversation if exists, otherwise returns null. - It depends on - - - - - - If this is non-null run pattern 'session-per-conversation'. - Must be the same SessionFactory of the managed conversations. - - - - - - Ends the "paused conversations" in call to . - Important: Unexpected behavior may occur if there are nested conversations, - as in only the current conversation and its parents - are started, the 'conversations children' remain paused, so these will be ended. - Defaul value: false. - - - When it is true, "start/resume a conversation" will cause the other to be - ended and cleaned up. - - This is useful to avoid memory leak where there are many conversations. - This leak can be very considerable, as the conversation may keep a "NHibernate session" - that can contain many objects in its cache from the database queries. - - - - - - HttpModule for ending Conversations with Timeout exceeded. - - Hailton de Castro - - - - Add PostRequestHandlerExecute event to clear conversations with timeout exceeded. - - - - - - Disposes of the resources (other than memory) used by the module that implements . - - - - - Handles the Unload event of the page control. - - The source of the event. - The instance containing the event data. - - Necessary for Redirect or Abort for any reason. - - - - - The Names of the s in the - - - - - Sets the that this - object runs in. - - - -

- Used to obtain the instances of -

-

- Invoked after population of normal object properties but before an - init callback such as - 's - - or a custom init-method. Invoked after the setting of any - 's - - property. -

-
- - In the case of application context initialization errors. - - - If thrown by any application context methods. - - -
- - - List that make validation for Circular Dependency for - - Hailton de Castro - - - - Contructor. - - The that owns this . - - - - Common Helper to be run before insert. - - - - - - Common Helper to be run after insert. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Implementation of conversation in the infrastructure of Spring. - It avoid Circular Dependencies. - - Hailton de Castro - - - - Default message for "CONVERSATION ALREADY HAS A PARENT" error. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A String representation from conversation. - - - - - - - - - - - - - - - - Default 180000. - - - - - - - - - - - - - - - . - - - - - - - - - - - - - - - "SessionFactory" name in the current context. - This approach is required to support serialization. - - - - - - - - - - "DbProvider" name in the current context. - This approach is required to support serialization. - - - - - - - - - - - - - - - - - - - - . It is used to valddate - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Returns the current context. Supports serialization and deserialization. - - - - - Setting for - - Hailton de Castro - - - - Default value for property. - - - - - Initialize a new instance of with default values. - - - Calling this constructor from your derived class leaves - uninitialized. See for more. - - - - - Initialize a new instance of with the given values and references. - - - Specify the to be set on each session provided by the instance. - - - Specify the flushmode to be applied on each session provided by the instance. - - - Calling this constructor marks all properties initialized. - - - - - Override this method to resolve an instance according to your chosen strategy. - - - - - Gets the configured instance to be used. - - - - - - - Gets or Sets the flushmode to be applied on each newly created session. - - - This property defaults to to ensure that modifying objects outside the boundaries - of a transaction will not be persisted. It is recommended to not change this value but wrap any modifying operation - within a transaction. - - - - - This was made to stay under session scope. - - Hailton de Castro - - - - Semaphore to synchronize writes to the dictionary. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ends all conversations and Closes all their Session. - - - - - Remove conversation. - - - - - - - - - - - "SessionFactory" name in the current context. - This approach is required to support serialization. - - - - - - - - - - - - - - - Returns the current context. Supports serialization and deserialization. - - -
-
diff --git a/src/Spring/Spring.Web.Conversation.NHibernate33/Spring.Web.Conversation.NHibernate33.XML b/src/Spring/Spring.Web.Conversation.NHibernate33/Spring.Web.Conversation.NHibernate33.XML deleted file mode 100644 index 39b80a8c..00000000 --- a/src/Spring/Spring.Web.Conversation.NHibernate33/Spring.Web.Conversation.NHibernate33.XML +++ /dev/null @@ -1,958 +0,0 @@ - - - - Spring.Web.Conversation.NHibernate33 - - - - - Based on - for support of 'session-per-conversation' pattern. - - Hailton de Castro - - - - The logging instance. - - - - - Initializes a new instance of the class. - Uses default values for - - - - - Initializes a new instance of the class. - - Specify the to be set on each session provided by this instance. - Specify the flushmode to be applied on each session provided by this instance. - - - - - Initializes a new instance of the class. - - An instance holding the scope configuration - - - - Sets a flag, whether this scope is in "open" state on the current logical thread. - - - - - - NOOP. - - - - - Open a new session or reconect the - in . - Participating in an existing session registed with - is not alowed. - - - - - - If there is another conversation with a with opened - . - If attempting to participate in an existing NHibernate - managed by . - - - - - - - Close the current view's session and unregisters - from . - - The session factory that on use - A list of conversations which the session can be closed or disconnected - - - If start/resume a conversation from a - when exists a different - with open registered on - - If the holder on , is not a . - - - - - - Gets the flushmode to be applied on each newly created session. - - - This property defaults to to ensure that modifying objects outside the boundaries - of a transaction will not be persisted. It is recommended to not change this value but wrap any modifying operation - within a transaction. - - - - - Get the configured EntityInterceptor - - - - - Id for conversation that open the Session. - - - - - Gets a flag, whether this scope is in "open" state on the current logical thread. - - - - - This sessionHolder creates a session for the active conversation only if it is - needed (). - - - Although a NHibernateSession defers creation of db-connections until they are really - needed, instantiation a session is still more expensive than using LazySessionHolder. - - - - - Initialize a new instance. - - - - - Create a new session on demand - - - - - Port to conversation. If the object is not found in the current - conversation, will be tried on the parent if the parent is - not null. - - - If is different from spring name for this instance. - - Hailton de Castro - - - - Starts or resumes the conversation and the . - If is not null, so - is called to - Raise SessionHolder for make the reconnection. - - Make return false. - - Update the . - - - - - If this conversation is ended. - - If is not null and - different from - - - - - - - - Ends the conversation. End each of the 'inner conversations' in - . Returns false if the - conversation and all of - has already been ended. - - - - - If . - Session["spring.objects"] - is null. - - The 'spring session scopes' are not located in the key - 'spring.objects' of HttpSessionState. - - - - - - - Starts or resumes the conversation and each 'inner conversation' in - . - It is not about 'Session-per-conversation' because it is done by - . - - - - - Conversation id. - - - - - Return true until is called. - - - - - Return true if this conversation is ended. - - - - - Inner conversation. After added if the - is null it will resolve to 'this'. - - at - , - , - - if Circular Dependency is detected. - - - - Conversation parent. - - - - If this conversation already has a different parent. - - If this Conversation is not new. - - If Circular Dependency is detected. - - The Parent conversation is not new. - - - - - - - TimeOut for the conversation in milliseconds. - If 0 TimeOut will be ignored. - - - - - Last acces for a value into this Conversation or Inner Conversation. - Reset to DateTime.Now each time - is called. - - - - - Conversation Manager. When this is setted if - - returns null so AddConversation is called. - - - - - that is stored in the root conversation. - - - must support 'session-per-conversation'. - - - - - - If this is non-null run pattern 'session-per-conversation'. - It also depends on and . - must support ConversationManager. - - - - - - If this is non-null run pattern 'session-per-conversation'. - It also depends on and . - must support ConversationManager. - - - - - - Indicates that the conversation is paused. - - - - - manager for Conversations. - - Hailton de Castro - - - - Returns the conversation if it is still alive, otherwise it returns null. - - - - - - - Ends all conversations with the timeout exceeded. - - - - - Close IDbConnections for that - use 'session-per-conversation'. It calls - in all conversations. - - - - - Release the ended conversations And removes them. - If the conversation supports 'session-per-conversation', also close the session. - - - - - Add conversation. If is null - it resolves to 'this'. - - - - If already has another manager. - - - - - Makes the 'root conversation' of - the current active conversation and open/reopen the - if - the conversation supports 'session-per-conversation'. Close all - the connection for all session before. - If is true will end all - paused conversations. - - - - - Returns the active conversation if exists, otherwise returns null. - It depends on - - - - - - If this is non-null run pattern 'session-per-conversation'. - Must be the same SessionFactory of the managed conversations. - - - - - - Ends the "paused conversations" in call to . - Important: Unexpected behavior may occur if there are nested conversations, - as in only the current conversation and its parents - are started, the 'conversations children' remain paused, so these will be ended. - Defaul value: false. - - - When it is true, "start/resume a conversation" will cause the other to be - ended and cleaned up. - - This is useful to avoid memory leak where there are many conversations. - This leak can be very considerable, as the conversation may keep a "NHibernate session" - that can contain many objects in its cache from the database queries. - - - - - - HttpModule for ending Conversations with Timeout exceeded. - - Hailton de Castro - - - - Add PostRequestHandlerExecute event to clear conversations with timeout exceeded. - - - - - - Disposes of the resources (other than memory) used by the module that implements . - - - - - Handles the Unload event of the page control. - - The source of the event. - The instance containing the event data. - - Necessary for Redirect or Abort for any reason. - - - - - The Names of the s in the - - - - - Sets the that this - object runs in. - - - -

- Used to obtain the instances of -

-

- Invoked after population of normal object properties but before an - init callback such as - 's - - or a custom init-method. Invoked after the setting of any - 's - - property. -

-
- - In the case of application context initialization errors. - - - If thrown by any application context methods. - - -
- - - List that make validation for Circular Dependency for - - Hailton de Castro - - - - Contructor. - - The that owns this . - - - - Common Helper to be run before insert. - - - - - - Common Helper to be run after insert. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Implementation of conversation in the infrastructure of Spring. - It avoid Circular Dependencies. - - Hailton de Castro - - - - Default message for "CONVERSATION ALREADY HAS A PARENT" error. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A String representation from conversation. - - - - - - - - - - - - - - - - Default 180000. - - - - - - - - - - - - - - - . - - - - - - - - - - - - - - - "SessionFactory" name in the current context. - This approach is required to support serialization. - - - - - - - - - - "DbProvider" name in the current context. - This approach is required to support serialization. - - - - - - - - - - - - - - - - - - - - . It is used to valddate - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Returns the current context. Supports serialization and deserialization. - - - - - Setting for - - Hailton de Castro - - - - Default value for property. - - - - - Initialize a new instance of with default values. - - - Calling this constructor from your derived class leaves - uninitialized. See for more. - - - - - Initialize a new instance of with the given values and references. - - - Specify the to be set on each session provided by the instance. - - - Specify the flushmode to be applied on each session provided by the instance. - - - Calling this constructor marks all properties initialized. - - - - - Override this method to resolve an instance according to your chosen strategy. - - - - - Gets the configured instance to be used. - - - - - - - Gets or Sets the flushmode to be applied on each newly created session. - - - This property defaults to to ensure that modifying objects outside the boundaries - of a transaction will not be persisted. It is recommended to not change this value but wrap any modifying operation - within a transaction. - - - - - This was made to stay under session scope. - - Hailton de Castro - - - - Semaphore to synchronize writes to the dictionary. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ends all conversations and Closes all their Session. - - - - - Remove conversation. - - - - - - - - - - - "SessionFactory" name in the current context. - This approach is required to support serialization. - - - - - - - - - - - - - - - Returns the current context. Supports serialization and deserialization. - - -
-