com.dyuproject.protostuff.runtime
Interface IdStrategy.Factory

Enclosing class:
IdStrategy

public static interface IdStrategy.Factory

Responsible for instantiating custom IdStrategy impls.


Method Summary
 IdStrategy create()
          Creates a new IdStrategy instance (impl).
 void postCreate()
          Called after the method create() has been called.
 

Method Detail

create

IdStrategy create()
Creates a new IdStrategy instance (impl).


postCreate

void postCreate()
Called after the method create() has been called. This is used to prevent classloader issues. RuntimeEnv's RuntimeEnv.ID_STRATEGY need to be set first.



Copyright © 2009-2014. All Rights Reserved.