public class ClientCallableHandlers extends AbstractServerHandlers<Component>
element.$server.<name>
on
the client side.NodeList.SetView<T extends Serializable>
Constructor and Description |
---|
ClientCallableHandlers(StateNode node)
Creates a new meta information list for the given state node.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ensureSupportedParameterTypes(Method method)
Validate parameter support for given method.
|
protected Class<? extends ClientCallable> |
getHandlerAnnotation()
Gets the annotation which is used to mark methods as handlers.
|
protected DisabledUpdateMode |
getUpdateMode(Method method)
Returns method's RPC communication mode from the client side to the
server side when the element is disabled.
|
addHandlerMethod, collectHandlerMethods, collectHandlerMethods, componentSet, getDisabledUpdateMode, hasHandler
add
add, addAll, clear, collectChanges, forEachChild, generateChangesFromEmpty, get, getChangeTracker, indexOf, isNodeValues, iterator, onDetach, remove, size
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach
public ClientCallableHandlers(StateNode node)
node
- the state node this list belongs toprotected Class<? extends ClientCallable> getHandlerAnnotation()
AbstractServerHandlers
getHandlerAnnotation
in class AbstractServerHandlers<Component>
protected void ensureSupportedParameterTypes(Method method)
AbstractServerHandlers
ensureSupportedParameterTypes
in class AbstractServerHandlers<Component>
method
- Method to check parameters forprotected DisabledUpdateMode getUpdateMode(Method method)
AbstractServerHandlers
getUpdateMode
in class AbstractServerHandlers<Component>
method
- the method to get its update modenull
Copyright © 2019. All rights reserved.