com.ibm.itim.policy.join

Class JoinClassCache

  • java.lang.Object
    • com.ibm.itim.policy.join.JoinClassCache


  • public class JoinClassCache
    extends java.lang.Object
    This class serves as a "mini", short-lived cache. It is to be "newed" by each instance of JoinDirector For performance reasons - all public methods in the join class would have to be synchronized - single global instance of this class should probably not be servicing multiple threads busy joining attributes at the same time. It is to avoid them step over each other's data kept in fields of cached class instances.
    • Constructor Summary

      Constructors 
      Constructor and Description
      JoinClassCache() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      JoinInterface getInstance(java.lang.String className)
      will return the only instance of join class if requested for the first time - new instance will be created first
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JoinClassCache

        public JoinClassCache()
    • Method Detail

      • getInstance

        public JoinInterface getInstance(java.lang.String className)
                                  throws java.lang.ClassNotFoundException,
                                         java.lang.InstantiationException,
                                         java.lang.IllegalAccessException
        will return the only instance of join class if requested for the first time - new instance will be created first
        Parameters:
        className - name of the class to return an instance of
        Returns:
        return instance of policy join class
        Throws:
        java.lang.ClassNotFoundException - if class not found on the classpath
        java.lang.InstantiationException - if couldn't instantiate the class
        java.lang.IllegalAccessException - when java access security rule was violated