Examples of WeakHashMap


Examples of java.util.WeakHashMap

    /**
     * Create new TemplateServlet.
     */
    public TemplateServlet() {
        this.cache = new WeakHashMap();
        this.engine = null; // assigned later by init()
        this.generateBy = true; // may be changed by init()
        this.fileEncodingParamVal = null; // may be changed by init()
    }
View Full Code Here

Examples of java.util.WeakHashMap

    private IJavaReferenceType lastTypeInDebugger;
    private String lastMethodInDebugger;

    public BytecodeSourceMapper() {
        super();
        classToDecompiled = new WeakHashMap();
        DebugContextManager.getDefault().addDebugContextListener(this);
    }
View Full Code Here

Examples of java.util.WeakHashMap

        this.factHandleFactory = factHandleFactory;
        this.conflictResolver = conflictResolver;
        this.ruleSets = ruleSets;
        this.applicationData = applicationData;
        this.ruleBaseContext = ruleBaseContext;
        this.workingMemories = new WeakHashMap();
    }
View Full Code Here

Examples of java.util.WeakHashMap

     * for cleanup during commit/rollback or close.
     * @param lobReference LOB Object
     */
    void addLOBReference (Object lobReference) {
        if (rootConnection.lobReferences == null) {
            rootConnection.lobReferences = new WeakHashMap ();
        }
        rootConnection.lobReferences.put (lobReference, null);
    }
View Full Code Here

Examples of java.util.WeakHashMap

        }


        setDefaultSchema(initDefaultSchemaDescriptor());
        interruptedException = null;
        referencedColumnMap = new WeakHashMap();
    }
View Full Code Here

Examples of java.util.WeakHashMap

        getCurrentSQLSessionContext().setRole(null);

        // Reset the current user
        getCurrentSQLSessionContext().setUser(getSessionUserId());

        referencedColumnMap = new WeakHashMap();
    }
View Full Code Here

Examples of java.util.WeakHashMap

     * for cleanup during commit/rollback or close.
     * @param lobReference LOB Object
     */
    void addLOBReference (Object lobReference) {
        if (rootConnection.lobReferences == null) {
            rootConnection.lobReferences = new WeakHashMap ();
        }
        rootConnection.lobReferences.put (lobReference, null);
    }
View Full Code Here

Examples of java.util.WeakHashMap

        return new WeakHashMap();
      }
    };

  private FormatableBitSet referencedColumnMapGet() {
    WeakHashMap map = (WeakHashMap)(referencedColumnMap.get());

    return (FormatableBitSet) (map.get(this));
  }
View Full Code Here

Examples of java.util.WeakHashMap

  }

  private void referencedColumnMapPut
    (FormatableBitSet newReferencedColumnMap) {

    WeakHashMap map = (WeakHashMap)(referencedColumnMap.get());
    map.put(this, newReferencedColumnMap);
  }
View Full Code Here

Examples of java.util.WeakHashMap

   
    synchronized (JCasImpl.class) {
      Map classLoaderToLoadedJCasTypes = (Map) typeSystemToLoadedJCasTypesByClassLoader.get(casImpl
              .getTypeSystemImpl());
      if (null == classLoaderToLoadedJCasTypes) {
        classLoaderToLoadedJCasTypes = new WeakHashMap(4);
        typeSystemToLoadedJCasTypesByClassLoader.put(casImpl.getTypeSystemImpl(),
                classLoaderToLoadedJCasTypes);
      }
      classLoaderToLoadedJCasTypes.put(cl, jcasTypes);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.