|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.util.jdbc.IDGenerator
public class IDGenerator
Constructor Summary | |
---|---|
IDGenerator(java.lang.String ctx,
java.lang.String theSequenceName,
int theSequenceInterval,
java.lang.String theDSName)
This constructor is for use inside an entity bean. |
Method Summary | |
---|---|
long |
getNewID()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IDGenerator(java.lang.String ctx, java.lang.String theSequenceName, int theSequenceInterval, java.lang.String theDSName)
ctx
- The logging context to usetheSequenceName
- name of the database sequencetheSequenceInterval
- how many values we should grab at a time from the dbtheDSName
- the name of the data source used to connect to the dbMethod Detail |
---|
public long getNewID() throws ConfigPropertyException, javax.naming.NamingException, SequenceRetrievalException, java.sql.SQLException
ConfigPropertyException
javax.naming.NamingException
SequenceRetrievalException
java.sql.SQLException
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |