this.plan = (ApplicationClientType) plan.getValue();
createClient();
}
protected EnvironmentType getEnvironment(boolean create) {
EnvironmentType type = null;
Object plan = getPlan().getValue();
if (ApplicationClientType.class.isInstance(plan)) {
type = ((ApplicationClientType) plan).getServerEnvironment();
if (type == null && create) {
type = getDeploymentObjectFactory().createEnvironmentType();