public class AutomagicDbOomConfigurator
extends jodd.io.findfile.ClassFinder
| Modifier and Type | Field and Description |
|---|---|
protected DbOomManager |
dbOomManager |
protected byte[] |
dbTableAnnotationBytes |
protected long |
elapsed |
protected boolean |
registerAsEntities |
| Constructor and Description |
|---|
AutomagicDbOomConfigurator() |
AutomagicDbOomConfigurator(boolean registerAsEntities) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(DbOomManager dbOomManager)
Configures
DbOomManager with default class path. |
void |
configure(DbOomManager dbOomManager,
java.io.File[] classpath)
Configures
DbOomManager with specified class path. |
long |
getElapsed()
Return elapsed number of milliseconds for configuration.
|
protected void |
onEntry(jodd.io.findfile.ClassFinder.EntryData entryData)
Scans all classes and registers only those annotated with
DbTable. |
acceptEntry, acceptJar, createEntriesRules, createJarRules, getSystemJars, getTypeSignatureBytes, isIgnoreException, isIncludeResources, isTypeSignatureInUse, loadClass, prepareEntryName, scanClassFile, scanClassPath, scanEntry, scanJarFile, scanPath, scanPath, scanPaths, scanPaths, scanUrl, scanUrls, setExcludeAllEntries, setExcludeAllJars, setExcludedEntries, setExcludedJars, setIgnoreException, setIncludeAllEntries, setIncludeAllJars, setIncludedEntries, setIncludedJars, setIncludeResourcesprotected final byte[] dbTableAnnotationBytes
protected final boolean registerAsEntities
protected DbOomManager dbOomManager
protected long elapsed
public AutomagicDbOomConfigurator(boolean registerAsEntities)
public AutomagicDbOomConfigurator()
public long getElapsed()
public void configure(DbOomManager dbOomManager, java.io.File[] classpath)
DbOomManager with specified class path.configure(jodd.db.oom.DbOomManager)public void configure(DbOomManager dbOomManager)
DbOomManager with default class path.protected void onEntry(jodd.io.findfile.ClassFinder.EntryData entryData)
DbTable.
Because of performance purposes, classes are not dynamically loaded; instead, their
file content is examined.onEntry in class jodd.io.findfile.ClassFinderCopyright © 2003-2013 Jodd Team