test_class.declarator: factory
test_class.original_string: RepositoryFactoryBean factory;
test_class.type: RepositoryFactoryBean
test_class.var_name: factory
test_class.file: se-jcr-jackrabbit/src/test/java/org/springframework/extensions/jcr/jackrabbit/RepositoryFactoryBeanTest.java
test_class.identifier: RepositoryFactoryBeanTest
test_case.body: @Test
      public void testCreateRepository() throws Exception {
          factory.afterPropertiesSet();
          Repository rep = (Repository) factory.getObject();
          assertEquals(rep.getDescriptor("jcr.repository.name"), "Jackrabbit");
  
          assertEquals(true, factory.getObject() instanceof Repository);
          assertEquals(true, factory.isSingleton());
          assertEquals(Repository.class, factory.getObjectType());
          factory.destroy();
  
      }
test_case.class_method_signature: RepositoryFactoryBeanTest.testCreateRepository()
test_case.full_signature: @Test public void testCreateRepository()
test_case.identifier: testCreateRepository
test_case.invocations: afterPropertiesSet getObject assertEquals getDescriptor assertEquals getObject assertEquals isSingleton assertEquals getObjectType destroy
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreateRepository()
focal_class.declarator: LOG = LoggerFactory.getLogger(RepositoryFactoryBean.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(RepositoryFactoryBean.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: DEFAULT_CONF_FILE = "repository.xml"
focal_class.modifier: private static final
focal_class.original_string: private static final String DEFAULT_CONF_FILE = "repository.xml";
focal_class.type: String
focal_class.var_name: DEFAULT_CONF_FILE
focal_class.declarator: DEFAULT_REP_DIR = "."
focal_class.modifier: private static final
focal_class.original_string: private static final String DEFAULT_REP_DIR = ".";
focal_class.type: String
focal_class.var_name: DEFAULT_REP_DIR
focal_class.declarator: homeDir
focal_class.modifier: private
focal_class.original_string: private Resource homeDir;
focal_class.type: Resource
focal_class.var_name: homeDir
focal_class.declarator: repositoryConfig
focal_class.modifier: private
focal_class.original_string: private RepositoryConfig repositoryConfig;
focal_class.type: RepositoryConfig
focal_class.var_name: repositoryConfig
focal_class.file: se-jcr-jackrabbit/src/main/java/org/springframework/extensions/jcr/jackrabbit/RepositoryFactoryBean.java
focal_class.identifier: RepositoryFactoryBean
focal_class.class_method_signature: RepositoryFactoryBean.createRepository()
focal_class.full_signature: protected Repository createRepository()
focal_class.identifier: createRepository
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Repository
focal_class.signature: Repository createRepository()
focal_class.class_method_signature: RepositoryFactoryBean.resolveConfigurationResource()
focal_class.full_signature: protected void resolveConfigurationResource()
focal_class.identifier: resolveConfigurationResource
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resolveConfigurationResource()
focal_class.class_method_signature: RepositoryFactoryBean.destroy()
focal_class.full_signature: public void destroy()
focal_class.identifier: destroy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void destroy()
focal_class.class_method_signature: RepositoryFactoryBean.getHomeDir()
focal_class.full_signature: public Resource getHomeDir()
focal_class.identifier: getHomeDir
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Resource
focal_class.signature: Resource getHomeDir()
focal_class.class_method_signature: RepositoryFactoryBean.setHomeDir(Resource defaultRepDir)
focal_class.full_signature: public void setHomeDir(Resource defaultRepDir)
focal_class.identifier: setHomeDir
focal_class.modifiers: public
focal_class.parameters: (Resource defaultRepDir)
focal_class.return: void
focal_class.signature: void setHomeDir(Resource defaultRepDir)
focal_class.class_method_signature: RepositoryFactoryBean.getRepositoryConfig()
focal_class.full_signature: public RepositoryConfig getRepositoryConfig()
focal_class.identifier: getRepositoryConfig
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: RepositoryConfig
focal_class.signature: RepositoryConfig getRepositoryConfig()
focal_class.class_method_signature: RepositoryFactoryBean.setRepositoryConfig(RepositoryConfig repositoryConfig)
focal_class.full_signature: public void setRepositoryConfig(RepositoryConfig repositoryConfig)
focal_class.identifier: setRepositoryConfig
focal_class.modifiers: public
focal_class.parameters: (RepositoryConfig repositoryConfig)
focal_class.return: void
focal_class.signature: void setRepositoryConfig(RepositoryConfig repositoryConfig)
focal_class.superclass: extends org.springframework.extensions.jcr.RepositoryFactoryBean
focal_method.body: protected Repository createRepository() throws Exception {
          // return JackRabbit repository.
          return RepositoryImpl.create(repositoryConfig);
      }
focal_method.class_method_signature: RepositoryFactoryBean.createRepository()
focal_method.full_signature: protected Repository createRepository()
focal_method.identifier: createRepository
focal_method.invocations: create
focal_method.modifiers: protected
focal_method.parameters: ()
focal_method.return: Repository
focal_method.signature: Repository createRepository()