public class CustomerServiceImpl extends Object implements CustomerService
| Constructor and Description |
|---|
CustomerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
deleteCustomer(Long customerId) |
javax.ws.rs.core.Response |
deleteCustomers() |
javax.ws.rs.core.Response |
getCustomers()
Invoke the proxied methods and pass on the arguments we received
|
void |
initServiceProxy()
Configures a proxy for the direct:rest endpoint
|
javax.ws.rs.core.Response |
updateCustomer(Customer customer) |
@PostConstruct public void initServiceProxy() throws Exception
Exceptionpublic javax.ws.rs.core.Response getCustomers()
getCustomers in interface CustomerServicepublic javax.ws.rs.core.Response updateCustomer(Customer customer)
updateCustomer in interface CustomerServicepublic javax.ws.rs.core.Response deleteCustomer(Long customerId)
deleteCustomer in interface CustomerServicepublic javax.ws.rs.core.Response deleteCustomers()
deleteCustomers in interface CustomerServiceCopyright © 2016. All rights reserved.