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)
ServiceInterface
getOperation
in interface ServiceInterface
name
- operation nameServiceInterface
public Set<ServiceOperation> getOperations()
ServiceInterface
getOperations
in interface ServiceInterface
ServiceInterface
public String getType()
ServiceInterface
getType
in interface ServiceInterface
ServiceInterface
protected void setType(String type)
protected void setOperations(Set<ServiceOperation> operations)
Copyright © 2013–2019 JBoss by Red Hat. All rights reserved.