org.apache.archiva.metadata.repository.jcr
Class JcrRepositorySessionFactory

java.lang.Object
  extended by org.apache.archiva.metadata.repository.jcr.JcrRepositorySessionFactory
All Implemented Interfaces:
RepositorySessionFactory

@Service(value="repositorySessionFactory#jcr")
public class JcrRepositorySessionFactory
extends Object
implements RepositorySessionFactory


Field Summary
private  org.springframework.context.ApplicationContext applicationContext
           
private  org.slf4j.Logger logger
           
private  Map<String,MetadataFacetFactory> metadataFacetFactories
           
private  MetadataResolver metadataResolver
           
private  javax.jcr.Repository repository
           
 
Constructor Summary
JcrRepositorySessionFactory()
           
 
Method Summary
 RepositorySession createSession()
           
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private org.slf4j.Logger logger

applicationContext

@Inject
private org.springframework.context.ApplicationContext applicationContext

metadataFacetFactories

private Map<String,MetadataFacetFactory> metadataFacetFactories

repository

@Inject
private javax.jcr.Repository repository

metadataResolver

@Inject
private MetadataResolver metadataResolver
Constructor Detail

JcrRepositorySessionFactory

public JcrRepositorySessionFactory()
Method Detail

createSession

public RepositorySession createSession()
Specified by:
createSession in interface RepositorySessionFactory

initialize

@PostConstruct
public void initialize()
                throws Exception
Throws:
Exception


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.