public class ServiceCallEvent
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ServiceCallEvent.Type |
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
body
The event body (arguments, result, ...).
|
protected IComponentIdentifier |
caller
The caller.
|
protected MethodInfo |
method
The method.
|
protected IServiceIdentifier |
service
The service.
|
protected ServiceCallEvent.Type |
type
The event type.
|
Constructor and Description |
---|
ServiceCallEvent()
Bean constructor.
|
ServiceCallEvent(ServiceCallEvent.Type type,
IServiceIdentifier service,
MethodInfo method,
IComponentIdentifier caller,
java.lang.Object body)
Instance constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getBody()
Get the body.
|
IComponentIdentifier |
getCaller()
Get the caller.
|
MethodInfo |
getMethod()
Get the method.
|
IServiceIdentifier |
getService()
Get the service.
|
ServiceCallEvent.Type |
getType()
Get the type.
|
void |
setBody(java.lang.Object body)
Set the body.
|
void |
setCaller(IComponentIdentifier caller)
Set the caller.
|
void |
setMethod(MethodInfo method)
Set the method.
|
void |
setService(IServiceIdentifier service)
Set the service.
|
void |
setType(ServiceCallEvent.Type type)
Set the type.
|
protected ServiceCallEvent.Type type
protected IServiceIdentifier service
protected MethodInfo method
protected IComponentIdentifier caller
protected java.lang.Object body
public ServiceCallEvent()
public ServiceCallEvent(ServiceCallEvent.Type type, IServiceIdentifier service, MethodInfo method, IComponentIdentifier caller, java.lang.Object body)
public ServiceCallEvent.Type getType()
public void setType(ServiceCallEvent.Type type)
public java.lang.Object getBody()
public void setBody(java.lang.Object body)
public IServiceIdentifier getService()
public void setService(IServiceIdentifier service)
public MethodInfo getMethod()
public void setMethod(MethodInfo method)
public IComponentIdentifier getCaller()
public void setCaller(IComponentIdentifier caller)