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