}
@Override
public final void onActivation()
{
RegistrationRequest request = new RegistrationRequest(dm.getId(),
dm.getRoles(), dm.getPublicVersion());
ENVRegistrationResponse r = tmp_ec.register(request);
this.authCode = r.getAuthCode();
this.ec = ((RegistrationResponse)r).getEc();
conn = PublicEnvironmentConnection.getInstance();