org.apache.jackrabbit.api
Interface JackrabbitRepository

All Superinterfaces:
Repository
All Known Implementing Classes:
RepositoryImpl, TransientRepository

public interface JackrabbitRepository
extends Repository

The Jackrabbit repository interface. This interface contains the Jackrabbit-specific extensions to the JCR Repository interface.


Field Summary
 
Fields inherited from interface javax.jcr.Repository
LEVEL_1_SUPPORTED, LEVEL_2_SUPPORTED, OPTION_LOCKING_SUPPORTED, OPTION_OBSERVATION_SUPPORTED, OPTION_QUERY_SQL_SUPPORTED, OPTION_TRANSACTIONS_SUPPORTED, OPTION_VERSIONING_SUPPORTED, QUERY_XPATH_DOC_ORDER, QUERY_XPATH_POS_INDEX, REP_NAME_DESC, REP_VENDOR_DESC, REP_VENDOR_URL_DESC, REP_VERSION_DESC, SPEC_NAME_DESC, SPEC_VERSION_DESC
 
Method Summary
 void shutdown()
          Shuts down the repository.
 
Methods inherited from interface javax.jcr.Repository
getDescriptor, getDescriptorKeys, login, login, login, login
 

Method Detail

shutdown

void shutdown()
Shuts down the repository. A Jackrabbit repository instance contains a acquired resources and cached data that needs to be released and persisted when the repository is no longer used. This method handles all these shutdown tasks and must therefore be called by the client application once the repository instance is no longer used.

Possible errors are logged rather than thrown as exceptions as there is little that a client application could do in such a case.



Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.