// }
private FutureTask<Instance> newBeanEntryTask(final VMID primaryKey, Session session) {
final FutureTask<Instance> newBeanEntryTask = new FutureTask<Instance>(new Callable<Instance>() {
public Instance call() throws Exception {
Instance instance = new Instance(deploymentInfo, primaryKey, new Object(), null, (Map<EntityManagerFactory, EntityManager>) null);
manager.add(primaryKey, instance);
return instance;
}
});
session.getState(WadiCache.SESSION_KEY_ENTRY);