This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

--User Defined Session Manager and Object Provider

Documents for the development of and with JVx.

--User Defined Session Manager and Object Provider

Postby Development@SIB » Sat Feb 26, 2011 2:00 pm



This article is outdated - please use our new system at

https://doc.sibvisions.com




The standard JVx server implementation uses the classes DefaultObjectProvider and DefaultSessionManager for the object and session administration. To change the default settings, the server configuration can be modified via config.xml.

User defined classes can be integrated using the following:

Code: Select all
<server>
  ...
  ...
  <sessionmanager>com.app.server.AnotherSessionManager</sessionmanager>
  <objectprovider>com.app.server.AnotherObjectProvider</objectprovider>
<server>


Note

At a minimum, the object provider has to correspond to the class AbstractObjectProvider, and the session manager has to correspond to the class DefaultSessionManager.
User avatar
Development@SIB
 
Posts: 321
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation