/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package web.component.api.model;

/**
 *
 * @author Hiroshi
 */
public interface BackendInstance {
    
    /**
     * Returns instance of load balancer with which this backend instance is registered.
     * If this backend instance is not registered with any load balancer, this method returns null.
     * @return instance of LoadBalancer or null.
     */
    public LoadBalancer getLoadBalancer();
    public String getId();
    public void register(LoadBalancer lb);
    
    /*
    * If this backend instance is registered with any load balancer, deregistered from it
    * and return the instance of the load balancer.
    * If failed to deregister, return null.
    */
    public LoadBalancer deregister();
    public BackendInstanceState getBackendInstanceState();
}

@@ -685,34 +685,48 @@
 ackend instance 
-is
+has already been
  registered with
@@ -744,16 +744,22 @@
 alancer,
+%0A    *
  deregis
@@ -765,18 +765,16 @@
 ster
-ed
  from it
 %0A   
@@ -769,22 +769,16 @@
  from it
-%0A    *
  and ret
@@ -845,16 +845,39 @@
 register
+ or not been registered
 , return

Update BackendInstance.java