|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PackagePool
The PackagePool interface defines methods to operate with the package pool. The package pool contains all the packages this proxy is responsible for.
| Method Summary | |
|---|---|
boolean |
exists(Backend backend,
java.lang.String resourceName)
Checks if a resource name already exists. |
PoolObject |
getPoolObject(Backend backend,
java.lang.String resourceName)
Returns a PoolObject for the given resource name. |
void |
removeOldPackages(Backend backend,
java.lang.String resourceName)
Remove old versions of a resource. |
| Method Detail |
|---|
boolean exists(Backend backend,
java.lang.String resourceName)
throws java.io.IOException
resourceName - the resource name to test.
java.io.IOException - is thrown if the lookup failed.
PoolObject getPoolObject(Backend backend,
java.lang.String resourceName)
throws java.io.IOException
resourceName - the resource name.
java.io.IOException - is thrown if the lookup failed.
void removeOldPackages(Backend backend,
java.lang.String resourceName)
resourceName - the resource name.maxVersion - the maximum amount of versions allowed
to exist.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||