1 45 46 package org.openejb.core; 47 48 import javax.naming.Context ; 49 50 53 public class DeploymentContext { 54 private final ClassLoader classLoader; 55 private final Object id; 56 private final Context jndiContext; 57 58 public DeploymentContext(Object id, ClassLoader classLoader, Context jndiContext) { 59 this.classLoader = classLoader; 60 this.id = id; 61 this.jndiContext = jndiContext; 62 } 63 64 public ClassLoader getClassLoader() { 65 return classLoader; 66 } 67 68 public Object getId() { 69 return id; 70 } 71 72 public Context getJndiContext() { 73 return jndiContext; 74 } 75 } 76 | Popular Tags |