protected void checkNotManaged() {
if (managed) throw new IllegalStateException("Builder already managed; cannot perform operation after call to manage()");
}
}
protected volatile boolean managed = false;
<BUG>private BasicEntitySpec<? extends Application, ?> appSpec;
</BUG>
private ManagementContext managementContext;
<BUG>private Application app;
</BUG>
public ApplicationBuilder() {

protected void checkNotManaged() {
if (managed) throw new IllegalStateException("Builder already managed; cannot perform operation after call to manage()");
}
}
protected volatile boolean managed = false;
private BasicEntitySpec<? extends StartableApplication, ?> appSpec;
private ManagementContext managementContext;
private StartableApplication app;
public ApplicationBuilder() {
