1 15 package org.apache.tapestry.pageload; 16 17 import org.apache.hivemind.util.Defense; 18 import org.apache.tapestry.INamespace; 19 import org.apache.tapestry.spec.IComponentSpecification; 20 21 27 public class ComponentClassProviderContext 28 { 29 private INamespace _namespace; 30 31 private String _name; 32 33 private IComponentSpecification _specification; 34 35 public ComponentClassProviderContext(String pageName, 36 IComponentSpecification pageSpecification, INamespace namespace) 37 { 38 Defense.notNull(pageName, "pageName"); 39 Defense.notNull(pageSpecification, "pageSpecification"); 40 Defense.notNull(namespace, "namespace"); 41 42 _name = pageName; 43 _specification = pageSpecification; 44 _namespace = namespace; 45 } 46 47 51 52 public String getName() 53 { 54 return _name; 55 } 56 57 60 61 public INamespace getNamespace() 62 { 63 return _namespace; 64 } 65 66 69 public IComponentSpecification getSpecification() 70 { 71 return _specification; 72 } 73 74 } | Popular Tags |