|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.ebxml.registry.lcm.quota.QuotaServiceImpl
Constructor Summary | |
QuotaServiceImpl()
|
Method Summary | |
void |
checkQuota(java.lang.String userId)
|
static QuotaServiceImpl |
getInstance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QuotaServiceImpl()
Method Detail |
public static QuotaServiceImpl getInstance()
public void checkQuota(java.lang.String userId) throws QuotaExceededException, RegistryException
QuotaExceededException
- if the size of already submitted items exceeds
the quota specified in ebxmlrr.properties. It simply counts the number of bytes
of previously submitted items and throws the exception on *next* request. So
a single request can submit an item whose size is bigger than the quota limit.
RegistryException
- if there is a IOException when getting the items sizes.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |