public class AddDistributedObjectListenerRequest extends BaseClientAddListenerRequest implements DistributedObjectListener
localOnly
callId, clientEngine, endpoint, operationService, serializationService, service
Constructor and Description |
---|
AddDistributedObjectListenerRequest() |
Modifier and Type | Method and Description |
---|---|
Object |
call() |
void |
distributedObjectCreated(DistributedObjectEvent event)
Invoked when a DistributedObject is created.
|
void |
distributedObjectDestroyed(DistributedObjectEvent event)
Invoked when a DistributedObject is destroyed.
|
int |
getClassId()
Returns class identifier for this portable class.
|
int |
getFactoryId()
Returns PortableFactory id for this portable class
|
String |
getMethodName()
Used for
SecurityInterceptor
Method name which called via a distributedObject
for map.put, methodName will be 'put'
For requests which do not produced via a distributedObject should return null, for example internal client. |
Permission |
getRequiredPermission() |
String |
getServiceName() |
read, setLocalOnly, write
process
getCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getParameters, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortable
public String getServiceName()
getServiceName
in class ClientRequest
public int getFactoryId()
Portable
getFactoryId
in interface Portable
public int getClassId()
Portable
getClassId
in interface Portable
public void distributedObjectCreated(DistributedObjectEvent event)
DistributedObjectListener
distributedObjectCreated
in interface DistributedObjectListener
event
- the event for the created DistributedObjectpublic void distributedObjectDestroyed(DistributedObjectEvent event)
DistributedObjectListener
distributedObjectDestroyed
in interface DistributedObjectListener
event
- the event for the destroyed DistributedObjectpublic Permission getRequiredPermission()
getRequiredPermission
in interface SecureRequest
public String getMethodName()
SecureRequest
SecurityInterceptor
Method name which called via a distributedObject
for map.put, methodName will be 'put'
For requests which do not produced via a distributedObject should return null, for example internal client.getMethodName
in interface SecureRequest
getMethodName
in class ClientRequest
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.