Constructor Detail

LeaseFactory

Create a new LeaseFactory that will create
LandlordLeases with the specified
Landlord and landlord Uuid.

Parameters:

landlord - the inner proxy that the leases will
use to communicate back to the server.

landlordUuid - a universally unique id that has
been assigned to the server granting of the lease.
Ideally the Uuidlandlord.getUuid
would return if landlord implemented
ReferentUuid. Used
to determine when two leases can be batched together.

Method Detail

newLease

Return a new LandlordLease with the specified
initial expiration and cookie using the inner proxy and
Uuid the factory was created with. Will return
a ConstrainableLandlordLease if inner proxy this
factory was created with implements RemoteMethodControl.