| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.walend.lyophil.ejb.EJBIdentifierSource
| Field Summary | 
| Fields inherited from interface net.walend.lyophil.IdentifierSource | 
ROLE | 
| Constructor Summary | |
EJBIdentifierSource()
 | 
|
| Method Summary | |
 boolean | 
checkSetUp()
make sure the backing storage is set up correctly  | 
 java.io.Serializable | 
createID()
Return a new identifier Object.  | 
private  IdentifierSourceEJB | 
getIDSource()
 | 
 java.io.Serializable | 
peekNextID()
Returns the next id to be created, without assigning it as in use.  | 
 void | 
setUp()
set up the backing storage  | 
 void | 
tearDown()
clean up the backing storage  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public EJBIdentifierSource()
| Method Detail | 
private IdentifierSourceEJB getIDSource()
public java.io.Serializable createID()
createID in interface IdentifierSourcean - IdentifierUnavailableException if the IdentifierSource can't get a new unique Object.a - LastIdentifierUsedException if the IdentifierSource is completely out of unique Objects.public java.io.Serializable peekNextID()
peekNextID in interface IdentifierSourcepublic boolean checkSetUp()
checkSetUp in interface IdentifierSource<{PersistenceFailureException}>public void setUp()
setUp in interface IdentifierSource<{PersistenceFailureException}>public void tearDown()
tearDown in interface IdentifierSource<{PersistenceFailureException}>
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||