public class InterfaceDefinition extends Object implements Externalizable
Constructor and Description |
---|
InterfaceDefinition()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getInterface()
This method gets the interface.
|
InvocationMetric |
getMetrics()
This method returns the aggregated invocation metric information
from the operations.
|
OperationDefinition |
getOperation(String name)
This method returns the operation associated with the supplied
name, if defined within the interface definition.
|
List<OperationDefinition> |
getOperations()
This method returns the list of operations associated
with the interface.
|
int |
hashCode() |
void |
merge(InterfaceDefinition id)
This method merges the supplied definition with this
interface definition.
|
void |
readExternal(ObjectInput in) |
void |
setInterface(String intf)
This method sets the interface.
|
void |
setOperations(List<OperationDefinition> operations)
This method sets the list of operations associated
with the interface.
|
InterfaceDefinition |
shallowCopy()
This method creates a shallow copy.
|
void |
writeExternal(ObjectOutput out) |
public InterfaceDefinition shallowCopy()
public void setInterface(String intf)
intf
- The interfacepublic String getInterface()
public void setOperations(List<OperationDefinition> operations)
operations
- The operationspublic List<OperationDefinition> getOperations()
public OperationDefinition getOperation(String name)
name
- The operation namepublic InvocationMetric getMetrics()
public void merge(InterfaceDefinition id) throws Exception
id
- The interface definition to mergeException
- Failed to mergepublic void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.