|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.repository.main.AbstractBuilder
org.apache.avalon.repository.main.DefaultBuilder
Application and component bootstrapper used to instantiate, and or invoke Classes and their methods within newly constructed Repository ClassLoaders.
Constructor Summary | |
DefaultBuilder(InitialContext context,
Artifact artifact)
Creates a DefaultBuilder for a specific target application. |
|
DefaultBuilder(InitialContext context,
ClassLoader classloader,
Artifact artifact)
Creates a DefaultBuilder for a specific target application. |
Method Summary | |
static Artifact |
createImplementationArtifact(ClassLoader classloader,
File system,
File base,
String resource,
String key)
Resolve the default implementation taking into account local and home properties, and application defaults. |
static Artifact |
createImplementationArtifact(ClassLoader classloader,
File base,
String resource,
String key)
Resolve the default implementation taking into account local and home properties, and application defaults. |
ClassLoader |
getClassLoader()
Gets the ClassLoader used by this Bootstrapper. |
Factory |
getFactory()
Return the factory established by the loader. |
Methods inherited from class org.apache.avalon.repository.main.AbstractBuilder |
createDelegate, loadFactoryClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultBuilder(InitialContext context, Artifact artifact) throws Exception
context
- the initial repository contextartifact
- the reference to the application
RepositoryException
- if a app factory creation error occurs
Exception
public DefaultBuilder(InitialContext context, ClassLoader classloader, Artifact artifact) throws Exception
context
- the initial repository contextclassloader
- the parent classloaderartifact
- the reference to the application
Exception
- if a app factory creation error occursMethod Detail |
public static Artifact createImplementationArtifact(ClassLoader classloader, File base, String resource, String key) throws Exception
classloader
- the embedding classloaderbase
- the base directoryresource
- a properties filenamekey
- a property key containing an artifact specification
Exception
public static Artifact createImplementationArtifact(ClassLoader classloader, File system, File base, String resource, String key) throws Exception
classloader
- the embedding classloadersystem
- the application system home directorybase
- the base directoryresource
- a properties filenamekey
- a property key containing an artifact specification
Exception
public Factory getFactory()
getFactory
in interface Builder
public ClassLoader getClassLoader()
getClassLoader
in interface Builder
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |