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

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: 311
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation