this.name = name;
}
public synchronized void start(StartContext startContext) throws StartException {
final Reference appReference = NamespaceObjectFactory.createReference(name);
final NamingStore javaContext = this.javaContext.getValue();
try {
javaContext.rebind(NameParser.INSTANCE.parse(name), appReference, Reference.class);
} catch (NamingException e) {
throw new StartException("Failed to bind EE context: java:" + name, e);
}
}