| java.lang.Object oracle.toplink.essentials.weaving.StaticWeaveProcessor
StaticWeaveProcessor | public class StaticWeaveProcessor (Code) | |
Description: The StaticWeaveProcessor controls the static weaving process. It is invoked by both the command line
StaticWeave class and the StaticWeaveAntTask.
Responsibilities:Process the source classes, performs weaving as necessary out outputs to the target
|
Method Summary | |
public static String | getDirectoryFromEntryName(String entryName) | public void | performWeaving() This method performs weaving function on the class individually from the specified source. | public void | setClassLoader(ClassLoader classLoader) Set the user classloader. | public void | setLog(Writer logWriter) The method allows user to specify the ouput for the log message.
Parameters: log - writer - the lcation where the log message writes to. | public void | setLogLevel(int level) The method allows user to define nine levels toplink logging.
Parameters: level - - the integer value of log level. | public void | setPersistenceInfo(URL persistenceInfo) Set an explicitly identified URL of the location containing persistence.xml. | public void | setPersistenceInfo(String persistenceInfoPath) Set an explicitly identified the location containing persistence.xml. | public void | setPersistenceInfo(File persistenceInfoFile) Set an explicitly identified the location containing persistence.xml. |
StaticWeaveProcessor | public StaticWeaveProcessor(String source, String target) throws MalformedURLException(Code) | | Constructs an instance of StaticWeaveProcessor
Parameters: source - the name of the location to be weaved Parameters: target - the name of the location to be weaved to throws: MalformedURLException - |
StaticWeaveProcessor | public StaticWeaveProcessor(File source, File target) throws MalformedURLException(Code) | | Constructs an instance of StaticWeaveProcessor
Parameters: source - the File object of the source to be weaved Parameters: target - the File object of the target to be weaved to throws: MalformedURLException - |
StaticWeaveProcessor | public StaticWeaveProcessor(URL source, URL target)(Code) | | Constructs an instance of StaticWeaveProcessor
Parameters: source - the URL of the source to be weaved Parameters: target - the URL of the target to be weaved to |
getDirectoryFromEntryName | public static String getDirectoryFromEntryName(String entryName)(Code) | | |
setClassLoader | public void setClassLoader(ClassLoader classLoader)(Code) | | Set the user classloader.
Parameters: classLoader - |
setLog | public void setLog(Writer logWriter)(Code) | | The method allows user to specify the ouput for the log message.
Parameters: log - writer - the lcation where the log message writes to. the default value is standardout |
setLogLevel | public void setLogLevel(int level)(Code) | | The method allows user to define nine levels toplink logging.
Parameters: level - - the integer value of log level. default is OFF. |
setPersistenceInfo | public void setPersistenceInfo(URL persistenceInfo)(Code) | | Set an explicitly identified URL of the location containing persistence.xml.
Parameters: persistenceInfo - the URL of the location containing persistence.xml, the URL must point to the root of META-INF/persistence.xml |
setPersistenceInfo | public void setPersistenceInfo(String persistenceInfoPath) throws MalformedURLException(Code) | | Set an explicitly identified the location containing persistence.xml.
Parameters: persistenceinfo - the path of the location containing persistence.xml, the path must point to the root of META-INF/persistence.xml |
setPersistenceInfo | public void setPersistenceInfo(File persistenceInfoFile) throws MalformedURLException(Code) | | Set an explicitly identified the location containing persistence.xml.
Parameters: persistenceinfo - the file containing persistence.xml, the file should contain META-INF/persistence.xml |
|
|