@Entity public abstract class RPCActivityType extends MessageExchange implements Externalizable
HEADER_FORMAT_PROPERTY_PREFIX, RTGOV_PROPERTY_PREFIX
Constructor and Description |
---|
RPCActivityType()
The default constructor.
|
RPCActivityType(RPCActivityType rpc)
The copy constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFault()
This method gets the fault.
|
String |
getInterface()
This method gets the interface.
|
boolean |
getInternal()
This method identifies whether the service is internal.
|
String |
getMessageId()
This method gets the message id.
|
String |
getOperation()
This method gets the operation.
|
String |
getServiceType()
This method gets the optional service type.
|
abstract boolean |
isRequest()
This method determines whether the RPC activity is
a request.
|
abstract boolean |
isServiceProvider()
This method determines whether the RPC activity is
associated with the service provider.
|
void |
readExternal(ObjectInput in) |
void |
setFault(String fault)
This method sets the fault.
|
void |
setInterface(String intf)
This method sets the interface.
|
void |
setInternal(boolean b)
This method sets whether the service is internal (i.e.
|
void |
setMessageId(String id)
This method sets the message id associated with the
activity.
|
void |
setOperation(String operation)
This method sets the operation.
|
void |
setServiceType(String serviceType)
This method sets the optional service type.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
getContent, getMessageType, setContent, setMessageType
getContext, getPrincipal, getProperties, getTimestamp, getUnitId, getUnitIndex, setContext, setPrincipal, setProperties, setTimestamp, setUnitId, setUnitIndex
public RPCActivityType()
public RPCActivityType(RPCActivityType rpc)
rpc
- The RPC activity to copypublic abstract boolean isServiceProvider()
public abstract boolean isRequest()
public void setServiceType(String serviceType)
serviceType
- The optional service typepublic String getServiceType()
public void setInterface(String intf)
intf
- The interfacepublic String getInterface()
public void setOperation(String operation)
operation
- The operationpublic String getOperation()
public void setFault(String fault)
fault
- The faultpublic String getFault()
public void setInternal(boolean b)
b
- Whether the service is internalpublic boolean getInternal()
public String getMessageId()
public void setMessageId(String id)
id
- The idpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class MessageExchange
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class MessageExchange
IOException
ClassNotFoundException
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.