protected void startService() throws Exception { super.startService(); // Register with the service locator HAPartitionLocator.getHAPartitionLocator().registerHAPartition(this); // Bind ourself in the public JNDI space if configured to do so if (this.bindIntoJndi) { Context ctx = new InitialContext(); this.bind(HAPartitionLocator.getStandardJndiBinding(this.getPartitionName()), this, ClusterPartition.class, ctx); this.log.debug("Bound in JNDI under /HAPartition/" + this.getPartitionName()); } }