111112113114115116117118
initConnector(); this.node = node; this.endpoint = this.node.buildEndpoint(this, "myinstance"); this.idFactory = new PastryIdFactory(node.getEnvironment()); this.endpoint.register(); }