Changeset 14528

Show
Ignore:
Timestamp:
17.09.2007 15:33:00 (12 years ago)
Author:
qq6
Message:

added setLibraryName(String library_name), getLibraryName()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/service/ServiceRack.java

    r13270 r14528  
    6767    protected String site_http_address =null; 
    6868 
     69    protected String library_name = null; 
    6970    /** the name of the cluster (or collection) that this service  
    7071    belongs to - if any */  
     
    115116    } 
    116117 
     118    public void setLibraryName(String library_name) { 
     119    this.library_name = library_name; 
     120    } 
     121    public String getLibraryName() { 
     122    return this.library_name; 
     123    } 
    117124    /** sets the message router */ 
    118125    public void setMessageRouter(MessageRouter m) { 
    119126       this.router = m; 
     127       setLibraryName(m.getLibraryName()); 
    120128    } 
    121129