⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inamedclassloader.java

📁 这个是perst-269.zip下面的SOURCECODE,和大家分享了。
💻 JAVA
字号:
package org.garret.perst;

/**
  * This interface allows to associate class loader with the particular persistent class.
  * When persistent object is stored in Perst storage, Perst checks if class descriptor for 
  * this class is already present in the storage. If it is not present, then Perst create class 
  * descriptor and stores it in database. Perst inspects class loader of the persistent class
  * and if it implements INamedClassLoader interface, then class name is prefixed by
  * name of class loader obtained by INamedClassLoader.getName() method. Class loader
  * name is separated from class name by ':'. When persistent class is loaded (during database open time)
  * Perst tries to locate class loader with the specified name among named class loaders previously
  * registered using Storage.registerClassLoader method. If no registered class loader with such name
  * is found then class is ignored. Any attempt to access object of this class will cause an error.
  */
public interface INamedClassLoader 
{  
    /**
     * Get name of this class loader.
     * @return class loader name (any sequence of character except ':')
     */
    public String getName();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -