org.bsf.smartValueObject.demo
Class SVODemoUserBean

java.lang.Object
  |
  +--SessionAdapterBean
        |
        +--org.bsf.smartValueObject.demo.SVODemoUserBean

public class SVODemoUserBean
extends SessionAdapterBean

This stateful bean is the one used by each client to simulate a persistence service.

See Also:
Serialized Form

Field Summary
private  org.bsf.smartValueObject.demo.DemoMediator userMediator
           
 
Constructor Summary
SVODemoUserBean()
           
 
Method Summary
private static java.lang.Object buildUserGraph()
           
 void ejbCreate()
           
 java.lang.Object getCompanyVo(java.lang.Object propotype)
           
 void modifyConcurrently()
          Simulates a concurrent modification on the graph
 java.lang.String updateCompanyVo(java.lang.Object propotype)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userMediator

private org.bsf.smartValueObject.demo.DemoMediator userMediator
Constructor Detail

SVODemoUserBean

public SVODemoUserBean()
Method Detail

ejbCreate

public void ejbCreate()

getCompanyVo

public java.lang.Object getCompanyVo(java.lang.Object propotype)

updateCompanyVo

public java.lang.String updateCompanyVo(java.lang.Object propotype)
                                 throws ConcurrencyException
ConcurrencyException

modifyConcurrently

public void modifyConcurrently()
Simulates a concurrent modification on the graph


buildUserGraph

private static final java.lang.Object buildUserGraph()