org.ow2.bonita.identity.impl
Class SerializedIdentityService

java.lang.Object
  extended by org.ow2.bonita.identity.impl.InMemoryIdentityService
      extended by org.ow2.bonita.identity.impl.PersistentIdentityService
          extended by org.ow2.bonita.identity.impl.SerializedIdentityService
All Implemented Interfaces:
IdentityServiceOp

public class SerializedIdentityService
extends PersistentIdentityService

Author:
"Pierre Vigneras"

Field Summary
 
Fields inherited from class org.ow2.bonita.identity.impl.PersistentIdentityService
file
 
Fields inherited from class org.ow2.bonita.identity.impl.InMemoryIdentityService
groupOps, next, ROOT_ID, users
 
Constructor Summary
SerializedIdentityService(java.io.File file, boolean create)
           
SerializedIdentityService(java.lang.String fileName, boolean create)
           
 
Method Summary
protected  void flush()
           
protected  void sync()
           
 
Methods inherited from class org.ow2.bonita.identity.impl.PersistentIdentityService
commit
 
Methods inherited from class org.ow2.bonita.identity.impl.InMemoryIdentityService
authenticateUser, createGroup, createGroup, createUser, deleteGroup, deleteUser, freshGroup, freshUser, getAllGroups, getAllUsers, getGroup, getUser, init, modifyGroup, modifyUser, setMembership, setMembership
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializedIdentityService

public SerializedIdentityService(java.io.File file,
                                 boolean create)
                          throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

SerializedIdentityService

public SerializedIdentityService(java.lang.String fileName,
                                 boolean create)
                          throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

flush

protected void flush()
Specified by:
flush in class PersistentIdentityService

sync

protected void sync()
Specified by:
sync in class PersistentIdentityService


Copyright © 2009 OW2 Consortium. All Rights Reserved.