Package de.tsl2.nano.persistence
Class GenericLocalBeanContainer
java.lang.Object
de.tsl2.nano.service.util.BeanContainerUtil
de.tsl2.nano.persistence.GenericBeanContainer
de.tsl2.nano.persistence.GenericLocalBeanContainer
see
GenericLocalServiceBean.
initializes the BeanContainer singelton, to use a jpa session.- Version:
- $Revision$
- Author:
- Thomas Schneider
-
Field Summary
FieldsFields inherited from class de.tsl2.nano.persistence.GenericBeanContainer
properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IGenericServicestatic voidstatic voidinitLocalContainer(ClassLoader classloader, boolean checkConnection) initializes the standard bean container to use GenericService methods. it creates an own servicefactory using the given classloaderMethods inherited from class de.tsl2.nano.persistence.GenericBeanContainer
get, hasPermission, initContainer, put, removeMethods inherited from class de.tsl2.nano.service.util.BeanContainerUtil
clear, createProxyGenService, getAttributeDefinitions, getAttributeDefinitions, getTemporalType, initEmptyProxyServices, initGenericServices, initGenericServices, initGenericServices, initProxyServiceFactory, initServiceFactory, isGeneratedValue, isPersistable, resetServices, synchronizeEmbeddedCompositeID
-
Field Details
-
service
-
-
Constructor Details
-
GenericLocalBeanContainer
public GenericLocalBeanContainer()
-
-
Method Details
-
initLocalContainer
public static void initLocalContainer() -
initLocalContainer
initializes the standard bean container to use GenericService methods. it creates an own servicefactory using the given classloader- Parameters:
classloader- loader to be used inside the own servicefactory instance.checkConnection- if true, the generic service will be pre-loaded to check the connection
-
getGenService
- Specified by:
getGenServicein classGenericBeanContainer
-