You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

JavaScriptExtensionState.java 923B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. @VaadinApache2LicenseForJavaFiles@
  3. */
  4. package com.vaadin.shared;
  5. import java.util.HashMap;
  6. import java.util.HashSet;
  7. import java.util.Map;
  8. import java.util.Set;
  9. import com.vaadin.shared.communication.SharedState;
  10. public class JavaScriptExtensionState extends SharedState implements
  11. JavaScriptConnectorState {
  12. private Set<String> callbackNames = new HashSet<String>();
  13. private Map<String, Set<String>> rpcInterfaces = new HashMap<String, Set<String>>();
  14. @Override
  15. public Set<String> getCallbackNames() {
  16. return callbackNames;
  17. }
  18. public void setCallbackNames(Set<String> callbackNames) {
  19. this.callbackNames = callbackNames;
  20. }
  21. @Override
  22. public Map<String, Set<String>> getRpcInterfaces() {
  23. return rpcInterfaces;
  24. }
  25. public void setRpcInterfaces(Map<String, Set<String>> rpcInterfaces) {
  26. this.rpcInterfaces = rpcInterfaces;
  27. }
  28. }