|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.elmo.sesame.SesameManagerFactory
public class SesameManagerFactory
Creates SesameBeanManagers.
| Constructor Summary | |
|---|---|
SesameManagerFactory(ElmoModule module)
|
|
SesameManagerFactory(ElmoModule module,
File dataDir,
String repositoryId)
|
|
SesameManagerFactory(ElmoModule module,
Repository repository)
|
|
SesameManagerFactory(ElmoModule module,
String appId,
String repositoryId)
|
|
SesameManagerFactory(ElmoModule module,
URL server,
String repositoryId)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the factory preventing any more ElmoManagers from being created. |
SesameManager |
createElmoManager()
Creates a new ElmoManager with the default Locale. |
SesameManager |
createElmoManager(Locale locale)
Creates a new ElmoManager with the given Locale. |
SesameManager |
createEntityManager()
|
SesameManager |
createEntityManager(Map properties)
|
ElmoEntityResolver<URI> |
getElmoEntityResolver()
|
LiteralManager<URI,Literal> |
getLiteralManager()
|
QueryLanguage |
getQueryLanguage()
|
Repository |
getRepository()
|
RoleMapper<URI> |
getRoleMapper()
|
boolean |
isOpen()
If this factory should be able to create an ElmoManager. |
void |
setInferencingEnabled(boolean enabled)
|
void |
setQueryLanguage(QueryLanguage ql)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SesameManagerFactory(ElmoModule module)
public SesameManagerFactory(ElmoModule module,
Repository repository)
public SesameManagerFactory(ElmoModule module,
URL server,
String repositoryId)
public SesameManagerFactory(ElmoModule module,
File dataDir,
String repositoryId)
public SesameManagerFactory(ElmoModule module,
String appId,
String repositoryId)
| Method Detail |
|---|
public Repository getRepository()
public QueryLanguage getQueryLanguage()
public void setQueryLanguage(QueryLanguage ql)
public void setInferencingEnabled(boolean enabled)
public RoleMapper<URI> getRoleMapper()
public LiteralManager<URI,Literal> getLiteralManager()
public ElmoEntityResolver<URI> getElmoEntityResolver()
public boolean isOpen()
ElmoManagerFactory
isOpen in interface EntityManagerFactoryisOpen in interface ElmoManagerFactorytrue if this factory is ready.public void close()
ElmoManagerFactory
close in interface EntityManagerFactoryclose in interface ElmoManagerFactorypublic SesameManager createEntityManager()
createEntityManager in interface EntityManagerFactorypublic SesameManager createEntityManager(Map properties)
createEntityManager in interface EntityManagerFactorypublic SesameManager createElmoManager()
ElmoManagerFactory
createElmoManager in interface ElmoManagerFactorypublic SesameManager createElmoManager(Locale locale)
ElmoManagerFactory
createElmoManager in interface ElmoManagerFactorylocale - Maybe null to indicate no localization.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||