1 8 14 package jfun.yan; 15 16 import jfun.yan.function.Signature; 17 18 27 public interface Dependency extends java.io.Serializable { 28 45 Object getArgument(Signature source, int i, Class type) 46 throws IrresolveableArgumentException, ParameterTypeMismatchException, 47 AmbiguousComponentResolutionException, ComponentInstantiationException, 48 YanException; 49 65 Class verifyArgument(Signature source, int i, Class type) 66 throws IrresolveableArgumentException, 67 ParameterTypeMismatchException, 68 AmbiguousComponentResolutionException, 69 YanException; 70 87 Object getProperty(Class component_type, Object key, Class type) 88 throws IrresolveablePropertyException, PropertyTypeMismatchException, 89 AmbiguousComponentResolutionException, ComponentInstantiationException, 90 YanException; 91 107 Class verifyProperty(Class component_type, Object key, Class type) 108 throws IrresolveablePropertyException, PropertyTypeMismatchException, 109 AmbiguousComponentResolutionException, 110 YanException; 111 112 115 Dependency getOriginal(); 116 120 ComponentMap getComponentMap(); 121 122 126 Object getComponentKey(); 127 128 135 Dependency getParent(); 136 137 140 Dependency seal(); 141 } 142 | Popular Tags |