@Service(value="addressService") public class AddressServiceImpl extends java.lang.Object implements AddressService
Constructor and Description |
---|
AddressServiceImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ee.ria.dhx.types.InternalXroadMember> |
getAdresseeList()
Returns list of adressees.
|
ee.ria.dhx.types.InternalXroadMember |
getClientForMemberCode(java.lang.String memberCode,
java.lang.String system)
Method finds xroadmember in local list of addresses by memberCode
|
void |
init()
Postconstruct method.
|
void |
renewAddressList()
Method refreshes local list of addresses.
|
public java.util.List<ee.ria.dhx.types.InternalXroadMember> getAdresseeList() throws ee.ria.dhx.exception.DhxException
getAdresseeList
in interface AddressService
ee.ria.dhx.exception.DhxException
@PostConstruct public void init()
public void renewAddressList() throws ee.ria.dhx.exception.DhxException
renewAddressList
in interface AddressService
ee.ria.dhx.exception.DhxException
- - throws if error occured@Loggable public ee.ria.dhx.types.InternalXroadMember getClientForMemberCode(java.lang.String memberCode, java.lang.String system) throws ee.ria.dhx.exception.DhxException
getClientForMemberCode
in interface AddressService
memberCode
- - adressee code, might be either X-road member code or representee code.system
- - adressees system. default system is NULL.ee.ria.dhx.exception.DhxException
- - thrown if recipient is not found