com.ail.core.configure
Interface ConfigurationOwner

All Superinterfaces:
CoreUser, java.io.Serializable
All Known Implementing Classes:
AcceptanceBean, AcceptQuotationService, AddPolicyNumberService, AddQuoteNumberService, AssessPaymentOptionsService, AssessRiskService, BeanShellAccessor, CalculateBrokerageService, CalculateCommissionService, CalculateManagementChargeService, CalculatePremiumService, CalculateTaxService, CancelEntryService, CastorFromXMLService, CastorToXMLService, CatalogCarService, CollectPremiumService, CommandServerBean, CommonsValidatorService, Component, ConfigurationOwnerImpl, Core, CoreProxy, CoreUserTestCase, DeployCarService, DroolsAccessor, DroolsDecisionTableAccessor, EJBComponent, EnforceComplianceService, GenerateDocumentService, GenerateDocumentService, GenerateDocumentService, GetClassListService, GetCommandScriptService, GetConfigurationService, GetNamespacesHistoryService, GetNamespacesService, HibernateCloseSessionService, HibernateCreateService, HibernateDeleteService, HibernateLoadService, HibernateOpenSessionService, HibernateQueryService, HibernateUpdateService, JaninoAccessor, JavaMergeDataService, JDOImplementation, ListProductsService, MakeARecoveryService, MakeEntryService, NewProductTypeService, NullService, PackageCarService, PersistenceServerBean, ProduceDocumentationService, ProductManagerBean, PutOnRiskService, QuotationBean, RefreshAssessmentSheetsService, RegisterProductService, RemoveProductService, RenderPdfDocumentService, ResetAllProductsService, ResetProductService, ServerBean, Service, SetCommandScriptService, SetConfigurationService, SubrogationBean, SystemOutLoggerService, TestAcceptance, TestConfigurationServices, TestCoreConfiguration, TestCoreFactory, TestCoreHibernatePersistence, TestCoreLogging, TestCoreValidator, TestCoreXMLBinding, TestCoreXMLMapping, TestCoreXMLStringMapping, TestFactoryTypeMerging, TestFinderService, TestGenerateDocument, TestPolicyPersistence, TestProductServices, TestQuotation, TestService, TestServiceInvocation, TestSubrogation, TestTypeXpath, TestUtilityFunctions, TimezoneTest, UpdateProductService, XSLTAccessor

public interface ConfigurationOwner
extends CoreUser

Any class wishing to 'own' its private configuration details implements this interface.

Version:
$Revision: 1.3 $

Method Summary
 Configuration getConfiguration()
          Retrieve the classes configuration.
 void resetConfiguration()
          Factory reset.
 void setConfiguration(Configuration config)
          Update the classes configuration with those passed in.
 
Methods inherited from interface com.ail.core.CoreUser
getConfigurationNamespace, getSecurityPrincipal, getVersionEffectiveDate
 

Method Detail

setConfiguration

void setConfiguration(Configuration config)
Update the classes configuration with those passed in.

Parameters:
config - new configuration

getConfiguration

Configuration getConfiguration()
Retrieve the classes configuration.

Returns:
The classes configuration

resetConfiguration

void resetConfiguration()
Factory reset. Reset the configuration to the factory defaults.