public class CacheListenerRegistrationRequest extends TargetClientRequest
CacheListenerRegistrationOperation on the server side.CacheListenerRegistrationOperationcallId, clientEngine, endpoint, operationService, serializationService, service| Constructor and Description |
|---|
CacheListenerRegistrationRequest() |
CacheListenerRegistrationRequest(String name,
javax.cache.configuration.CacheEntryListenerConfiguration cacheEntryListenerConfiguration,
boolean register,
Address target) |
| Modifier and Type | Method and Description |
|---|---|
int |
getClassId()
Returns class identifier for this portable class.
|
String |
getDistributedObjectName()
Used for
SecurityInterceptor |
int |
getFactoryId()
Returns PortableFactory id for this portable class
|
protected InvocationBuilder |
getInvocationBuilder(Operation op) |
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. |
Object[] |
getParameters()
Used for
SecurityInterceptor
Parameters passed to the method by a distributedObject
for map.put(key, value) parameters should be 'key' and 'value'
parameters can be in binary or object form, underlying implementation will de-serialize lazily |
Permission |
getRequiredPermission() |
String |
getServiceName() |
protected Operation |
prepareOperation() |
void |
read(PortableReader reader) |
void |
write(PortableWriter writer) |
filter, onFailure, onResponse, processgetCallId, getClassVersion, getClientEngine, getDistributedObjectType, getEndpoint, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortablepublic int getFactoryId()
Portablepublic int getClassId()
Portableprotected Operation prepareOperation()
prepareOperation in class TargetClientRequestprotected InvocationBuilder getInvocationBuilder(Operation op)
getInvocationBuilder in class TargetClientRequestpublic String getServiceName()
getServiceName in class ClientRequestpublic void write(PortableWriter writer) throws IOException
write in class ClientRequestIOExceptionpublic void read(PortableReader reader) throws IOException
read in class ClientRequestIOExceptionpublic Permission getRequiredPermission()
public Object[] getParameters()
SecureRequestSecurityInterceptor
Parameters passed to the method by a distributedObject
for map.put(key, value) parameters should be 'key' and 'value'
parameters can be in binary or object form, underlying implementation will de-serialize lazilygetParameters in interface SecureRequestgetParameters in class ClientRequestpublic String getMethodName()
SecureRequestSecurityInterceptor
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 SecureRequestgetMethodName in class ClientRequestpublic String getDistributedObjectName()
SecureRequestSecurityInterceptorgetDistributedObjectName in interface SecureRequestgetDistributedObjectName in class ClientRequestCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.