|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.repository.impl.DefaultFactory
The default repository factory implementation.
Constructor Summary | |
DefaultFactory(InitialContext context)
Creation of a new default repository manager factory. |
Method Summary | |
Object |
create()
Create a new instance of a repository administrator using the default parameters. |
Object |
create(Map map)
Create a new instance of a repository using the supplied parameters. |
Map |
createDefaultCriteria()
Create a new instance of the default criteria. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultFactory(InitialContext context)
context
- the initial context
NullPointerException
- if the supplied context is nullMethod Detail |
public Map createDefaultCriteria()
createDefaultCriteria
in interface Factory
public Object create() throws Exception
create
in interface Factory
Exception
- if a repository creation error occurspublic Object create(Map map) throws Exception
create
in interface Factory
map
- a map of repository parameters
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |