org.ow2.bonita.identity.impl
Class XMLIdentityService

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.XMLIdentityService
All Implemented Interfaces:
IdentityServiceOp

public class XMLIdentityService
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
XMLIdentityService(java.io.File file, boolean create)
           
XMLIdentityService(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

XMLIdentityService

public XMLIdentityService(java.lang.String fileName,
                          boolean create)
                   throws java.io.IOException
Throws:
java.io.IOException

XMLIdentityService

public XMLIdentityService(java.io.File file,
                          boolean create)
                   throws java.io.IOException
Throws:
java.io.IOException
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.