pushEnc();
try
{
Thread.currentThread().setContextClassLoader(classloader);
StatefulCache cache = this.getCache();
StatefulBeanContext ctx = cache.create(initTypes, initValues);
// Since we return the key here, the context is not in use.
cache.release(ctx);
Object id = ctx.getId();
assert id instanceof Serializable : "SFSB Session IDs must be " + Serializable.class.getSimpleName();
return (Serializable) id;