Interface ManagedBeanManager

All Known Implementing Classes:
ManagedBeanManagerImpl

@Contract public interface ManagedBeanManager
ManagedBeanManager provides an interface to various Jakarta EE Managed Bean component operations.
  • Method Details

    • loadManagedBeans

      void loadManagedBeans(com.sun.enterprise.deployment.Application app)
    • unloadManagedBeans

      void unloadManagedBeans(com.sun.enterprise.deployment.Application app)
    • getManagedBean

      Object getManagedBean(String globalJndiName) throws Exception
      Throws:
      Exception
    • createManagedBean

      <T> T createManagedBean(Class<T> managedBean) throws Exception
      Throws:
      Exception
    • createManagedBean

      <T> T createManagedBean(Class<T> managedBean, boolean invokePostConstruct) throws Exception
      Throws:
      Exception
    • createManagedBean

      <T> T createManagedBean(com.sun.enterprise.deployment.ManagedBeanDescriptor managedBeanDesc, Class<T> managedBeanClass) throws Exception
      Throws:
      Exception
    • createManagedBean

      <T> T createManagedBean(com.sun.enterprise.deployment.ManagedBeanDescriptor managedBeanDesc, Class<T> managedBeanClass, boolean invokePostConstruct) throws Exception
      Throws:
      Exception
    • isManagedBean

      boolean isManagedBean(Object object)
    • destroyManagedBean

      void destroyManagedBean(Object managedBean)
    • destroyManagedBean

      void destroyManagedBean(Object managedBean, boolean validate)
    • registerRuntimeInterceptor

      void registerRuntimeInterceptor(Object interceptorInstance, com.sun.enterprise.deployment.BundleDescriptor bundle)
      Register an interceptor instance for all managed beans in the given module
      Parameters:
      interceptorInstance -
      bundle - BundleDescriptor (passed as object because we can't add a dependency on the DOL