home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / java / beans / beancontext / BeanContextServicesSupport$BCSSChild$BCSSCServiceRef.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1.2 KB  |  34 lines

  1. package java.beans.beancontext;
  2.  
  3. class BeanContextServicesSupport$BCSSChild$BCSSCServiceRef {
  4.    BeanContextServicesSupport.BCSSChild.BCSSCServiceClassRef serviceClassRef;
  5.    int refCnt;
  6.    boolean delegated;
  7.    // $FF: synthetic field
  8.    private final BeanContextServicesSupport.BCSSChild this$1;
  9.  
  10.    BeanContextServicesSupport$BCSSChild$BCSSCServiceRef(BeanContextServicesSupport.BCSSChild var1, BeanContextServicesSupport.BCSSChild.BCSSCServiceClassRef var2, boolean var3) {
  11.       this.this$1 = var1;
  12.       this.refCnt = 1;
  13.       this.delegated = false;
  14.       this.serviceClassRef = var2;
  15.       this.delegated = var3;
  16.    }
  17.  
  18.    void addRef() {
  19.       ++this.refCnt;
  20.    }
  21.  
  22.    int release() {
  23.       return --this.refCnt;
  24.    }
  25.  
  26.    BeanContextServicesSupport.BCSSChild.BCSSCServiceClassRef getServiceClassRef() {
  27.       return this.serviceClassRef;
  28.    }
  29.  
  30.    boolean isDelegated() {
  31.       return this.delegated;
  32.    }
  33. }
  34.