org.jboss.dna.repository
Class DnaEngine

java.lang.Object
  extended by org.jboss.dna.repository.DnaEngine

@Immutable
public class DnaEngine
extends Object

A single instance of the DNA services, which is obtained after setting up the configuration.

See Also:
DnaConfiguration

Field Summary
static String CONFIGURATION_REPOSITORY_NAME
           
 
Method Summary
 ExecutionContext getExecutionContext()
           
 ObservationService getObservationService()
           
 Problems getProblems()
          Get the problems that were encountered when setting up this engine from the configuration.
 RepositoryConnectionFactory getRepositoryConnectionFactory()
           
 RepositoryService getRepositoryService()
           
 RepositorySource getRepositorySource(String repositoryName)
           
 SequencingService getSequencingService()
           
 void shutdown()
           
 void start()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIGURATION_REPOSITORY_NAME

public static final String CONFIGURATION_REPOSITORY_NAME
See Also:
Constant Field Values
Method Detail

getProblems

public Problems getProblems()
Get the problems that were encountered when setting up this engine from the configuration.

Returns:
the problems, which may be empty but will never be null

getExecutionContext

public final ExecutionContext getExecutionContext()

getRepositorySource

public final RepositorySource getRepositorySource(String repositoryName)

getRepositoryConnectionFactory

public final RepositoryConnectionFactory getRepositoryConnectionFactory()

getRepositoryService

public final RepositoryService getRepositoryService()

getObservationService

public final ObservationService getObservationService()

getSequencingService

public final SequencingService getSequencingService()

start

public void start()

shutdown

public void shutdown()


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.