public class RemoteTaxRateLookupImpl extends java.lang.Object implements RemoteTaxRateLookup, java.rmi.server.Unreferenced
| Constructor and Description |
|---|
RemoteTaxRateLookupImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(java.lang.String config) |
void |
initialize(TaxRateLookupConfiguration configuration) |
java.util.List<TaxResponse> |
lookupByAddress(java.util.List<TaxRateAddress> address,
Preferences preferences)
Performs lookup by address
|
TaxResponse |
lookupByAddress(TaxRateAddress address,
Preferences preferences) |
java.util.List<TaxResponse> |
lookupByLocation(java.util.List<Location> location,
Preferences preferences)
Performs lookup by location
|
TaxResponse |
lookupByLocation(Location location,
Preferences preferences) |
void |
unreferenced() |
public void initialize(TaxRateLookupConfiguration configuration) throws TaxRateLookupException, java.rmi.RemoteException
initialize in interface RemoteTaxRateLookupTaxRateLookupExceptionjava.rmi.RemoteExceptionpublic void initialize(java.lang.String config)
throws TaxRateLookupException,
java.rmi.RemoteException
initialize in interface RemoteTaxRateLookupTaxRateLookupExceptionjava.rmi.RemoteExceptionpublic TaxResponse lookupByAddress(TaxRateAddress address, Preferences preferences) throws TaxRateLookupException, java.rmi.RemoteException
lookupByAddress in interface RemoteTaxRateLookupTaxRateLookupExceptionjava.rmi.RemoteExceptionpublic TaxResponse lookupByLocation(Location location, Preferences preferences) throws TaxRateLookupException, java.rmi.RemoteException
lookupByLocation in interface RemoteTaxRateLookupTaxRateLookupExceptionjava.rmi.RemoteExceptionpublic java.util.List<TaxResponse> lookupByAddress(java.util.List<TaxRateAddress> address, Preferences preferences) throws TaxRateLookupException, java.rmi.RemoteException
lookupByAddress in interface RemoteTaxRateLookupaddress - list of address to use for lookuppreferences - Preferences to useTaxResponseTaxRateLookupException - exception thrown when it fails looking upjava.rmi.RemoteException - exception thrown when it fails looking uppublic java.util.List<TaxResponse> lookupByLocation(java.util.List<Location> location, Preferences preferences) throws TaxRateLookupException, java.rmi.RemoteException
lookupByLocation in interface RemoteTaxRateLookuplocation - list of locations to use for lookuppreferences - Preferences to useTaxResponseTaxRateLookupException - exception thrown when it fails looking upjava.rmi.RemoteException - exception thrown when it fails looking uppublic void unreferenced()
unreferenced in interface java.rmi.server.Unreferenced