1 15 package org.apache.tapestry.engine; 16 17 import org.apache.hivemind.util.Defense; 18 19 25 public class ExternalServiceParameter 26 { 27 private String _pageName; 28 29 private Object [] _serviceParameters; 30 31 public ExternalServiceParameter(String pageName) 32 { 33 this(pageName, null); 34 } 35 36 public ExternalServiceParameter(String pageName, Object [] serviceParameters) 37 { 38 Defense.notNull(pageName, "pageName"); 39 40 _pageName = pageName; 41 _serviceParameters = serviceParameters; 42 } 43 44 public String getPageName() 45 { 46 return _pageName; 47 } 48 49 public Object [] getServiceParameters() 50 { 51 return _serviceParameters; 52 } 53 } | Popular Tags |