All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.metamodel.commons.component.ApplicationScopedComponent Maven / Gradle / Ivy

There is a newer version: 4.0-beta-1
Show newest version
package org.nakedobjects.metamodel.commons.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 SessionScopedComponent * @see TransactionScopedComponent */ public interface ApplicationScopedComponent extends Component { /** * Indicates to the component that it is to initialise itself. */ void init(); /** * Indicates to the component that it will no longer be used and should shut itself down cleanly. */ void shutdown(); } // Copyright (c) Naked Objects Group Ltd.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy