1 23 package com.sun.enterprise; 24 25 import com.sun.enterprise.deployment.JndiNameEnvironment; 26 27 36 public interface InjectionManager { 37 38 49 public void injectInstance(Object instance) 50 throws InjectionException; 51 52 65 public void injectInstance(Object instance, 66 JndiNameEnvironment componentEnv) 67 throws InjectionException; 68 69 81 public void injectInstance(Object instance, 82 JndiNameEnvironment componentEnv, 83 boolean invokePostConstruct) 84 throws InjectionException; 85 86 97 public void injectClass(Class clazz, 98 JndiNameEnvironment componentEnv) 99 throws InjectionException; 100 101 112 public void injectClass(Class clazz, 113 JndiNameEnvironment componentEnv, 114 boolean invokePostConstruct) 115 throws InjectionException; 116 117 126 public void invokeInstancePreDestroy(Object instance) 127 throws InjectionException; 128 129 130 140 public void invokeInstancePreDestroy(Object instance, 141 JndiNameEnvironment componentEnv) 142 throws InjectionException; 143 144 154 public void invokeClassPreDestroy(Class clazz, 155 JndiNameEnvironment componentEnv) 156 throws InjectionException; 157 158 159 } 160 | Popular Tags |