Package de.tsl2.nano.persistence
Class GenericBeanContainer
java.lang.Object
de.tsl2.nano.service.util.BeanContainerUtil
de.tsl2.nano.persistence.GenericBeanContainer
- Direct Known Subclasses:
GenericLocalBeanContainer
see
GenericLocalServiceBean.
initializes the BeanContainer singelton, to use an JPA-EntityManager provided by persistence-implementation.- Version:
- $Revision$
- Author:
- Thomas Schneider, Thomas Schneider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract IGenericServiceprotected ObjecthasPermission(String name, String action) static voidinitContainer(GenericBeanContainer container, ClassLoader classloader) initializes the standard bean container to use GenericService methods. it creates an own servicefactory using the given classloaderprotected voidprotected ObjectMethods 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
-
properties
-
-
Constructor Details
-
GenericBeanContainer
public GenericBeanContainer()
-
-
Method Details
-
initContainer
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.
-
hasPermission
- Overrides:
hasPermissionin classBeanContainerUtil
-
getGenService
-
get
-
put
-
remove
-