subscribers=new EventSubscriberManager("Application ID "+id, owner.createEventExecutorService()); addInitialProperties(); enterStateNotifying(LifecycleStateEnum.instantiated, "id=" + id);
if(owner!=null) { subscribers=new EventSubscriberManager("Application ID "+id, owner.createEventExecutorService()); enterStateNotifying(LifecycleStateEnum.instantiated, "id=" + id); }
    public Application(String id, ServerInstance owner) {        setId(id);        this.owner=owner;        subscribers=new EventSubscriberManager("Application ID "+id, owner.createEventExecutorService());        addInitialProperties();        enterStateNotifying(LifecycleStateEnum.instantiated, "id=" + id);    }