|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.enterprise.module.RepositoryFactories
public class RepositoryFactories
Registry for RepositoryFactory instances
Method Summary | |
---|---|
void |
addRepositoryFactory(RepositoryFactory factory)
Add a new RepositoryFactory to the list of
repository factories. |
Iterator<RepositoryFactory> |
getFactories()
Returns an interator of registered ReposistoryFactory |
RepositoryFactory |
getFactoryFor(String type)
Returns a RespositoryFactory factory instance
capable of creating Repository repositories of
the provided type |
static RepositoryFactories |
getInstance()
Return the instance holding registered repository factories |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RepositoryFactories getInstance()
public void addRepositoryFactory(RepositoryFactory factory)
RepositoryFactory
to the list of
repository factories.
factory
- the new factory to addpublic Iterator<RepositoryFactory> getFactories()
ReposistoryFactory
public RepositoryFactory getFactoryFor(String type)
RespositoryFactory
factory instance
capable of creating Repository
repositories of
the provided type
type
- type of the repository we request the RepositoryFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |