public class BaseService extends Object implements ServiceInterface
DEFAULT_OPERATION, DEFAULT_TYPE| Constructor and Description |
|---|
BaseService(ServiceOperation operation)
Create a new ServiceInterface with the specified operation.
|
BaseService(ServiceOperation operation,
String type)
Create a new ServiceInterface with the specified operation and type.
|
BaseService(Set<ServiceOperation> operations)
Create a new ServiceInterface with the specified operations.
|
BaseService(Set<ServiceOperation> operations,
String type)
Create a new ServiceInterface with the specified operations and type.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceOperation |
getOperation(String name)
Returns operation details for the specified name from the service interface.
|
Set<ServiceOperation> |
getOperations()
The set of operations available on this service.
|
String |
getType()
The type of the interface - e.g.
|
protected void |
setOperations(Set<ServiceOperation> operations) |
protected void |
setType(String type) |
String |
toString() |
public BaseService(ServiceOperation operation)
operation - interface operationpublic BaseService(Set<ServiceOperation> operations)
operations - interface operationspublic BaseService(ServiceOperation operation, String type)
operation - interface operationtype - interface typepublic BaseService(Set<ServiceOperation> operations, String type)
operations - interface operationstype - interface typepublic ServiceOperation getOperation(String name)
ServiceInterfacegetOperation in interface ServiceInterfacename - operation nameServiceInterfacepublic Set<ServiceOperation> getOperations()
ServiceInterfacegetOperations in interface ServiceInterfaceServiceInterfacepublic String getType()
ServiceInterfacegetType in interface ServiceInterfaceServiceInterfaceprotected void setType(String type)
protected void setOperations(Set<ServiceOperation> operations)
Copyright © 2013-2014 JBoss by Red Hat. All Rights Reserved.