Class GenericBeanContainer

java.lang.Object
de.tsl2.nano.service.util.BeanContainerUtil
de.tsl2.nano.persistence.GenericBeanContainer
Direct Known Subclasses:
GenericLocalBeanContainer

public abstract class GenericBeanContainer extends BeanContainerUtil
see GenericLocalServiceBean. initializes the BeanContainer singelton, to use an JPA-EntityManager provided by persistence-implementation.
Version:
$Revision$
Author:
Thomas Schneider, Thomas Schneider
  • Field Details

    • properties

      protected Map properties
  • Constructor Details

    • GenericBeanContainer

      public GenericBeanContainer()
  • Method Details

    • initContainer

      public static void initContainer(GenericBeanContainer container, ClassLoader classloader)
      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

      protected Object hasPermission(String name, String action)
      Overrides:
      hasPermission in class BeanContainerUtil
    • getGenService

      protected abstract IGenericService getGenService()
    • get

      public Object get(Object key)
    • put

      protected void put(Object key, Object value)
    • remove

      protected Object remove(Object key)