org.nakedobjects.metamodel.commons.component
Interface ApplicationScopedComponent

All Superinterfaces:
Component
All Known Subinterfaces:
ClassSubstitutor, CollectionTypeRegistry, FacetDecoratorInstaller, Installer, MetaModelValidator, NakedObjectReflector, NakedObjectReflectorInstaller, SpecificationLoader, SpecificationTraverser
All Known Implementing Classes:
ClassSubstitutorAbstract, ClassSubstitutorIdentity, CollectionTypeRegistryAbstract, CollectionTypeRegistryDefault, FacetDecoratorSet, JavaReflector, MetaModelValidatorAbstract, MetaModelValidatorComposite, MetaModelValidatorNoop, NakedObjectReflectorAbstract, SpecificationTraverserDefault

public interface ApplicationScopedComponent
extends Component

Indicate that the implementing component is scoped at application level (shared across multiple sessions) and might also require initialization or being shutdown.

Analogous to Hibernate's SessionFactory.

See Also:
SessionScopedComponent, TransactionScopedComponent

Method Summary
 void init()
          Indicates to the component that it is to initialise itself.
 void shutdown()
          Indicates to the component that it will no longer be used and should shut itself down cleanly.
 

Method Detail

init

void init()
Indicates to the component that it is to initialise itself.


shutdown

void shutdown()
Indicates to the component that it will no longer be used and should shut itself down cleanly.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.