public class RemoteInterface extends BaseService
Modifier and Type | Field and Description |
---|---|
static String |
TYPE
The "remote" type.
|
DEFAULT_OPERATION, DEFAULT_TYPE
Constructor and Description |
---|
RemoteInterface()
Create a new RemoteInterface with no operations.
|
RemoteInterface(Set<ServiceOperation> operations,
String type)
Create a new RemoteInterface with the specified operation and type.
|
Modifier and Type | Method and Description |
---|---|
static RemoteInterface |
fromInterface(ServiceInterface contract)
Creates a RemoteInterface representation from an existing contract.
|
getOperation, getOperations, getType, setOperations, setType, toString
public static final String TYPE
public RemoteInterface()
public RemoteInterface(Set<ServiceOperation> operations, String type)
operations
- the operation settype
- the interface typepublic static RemoteInterface fromInterface(ServiceInterface contract)
contract
- the existing interface contractCopyright © 2013–2017 JBoss by Red Hat. All rights reserved.