com.sun.enterprise.deployment.ManagedBeanDescriptor Maven / Gradle / Ivy
/*
* Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the
* Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
* version 2 with the GNU Classpath Exception, which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
*/
package com.sun.enterprise.deployment;
import com.sun.enterprise.deployment.LifecycleCallbackDescriptor.CallbackType;
import com.sun.enterprise.deployment.util.ApplicationValidator;
import com.sun.enterprise.deployment.util.ManagedBeanVisitor;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.glassfish.api.naming.SimpleJndiName;
import static com.sun.enterprise.deployment.MethodDescriptor.EJB_BEAN;
import static org.glassfish.api.naming.SimpleJndiName.JNDI_CTX_JAVA_APP;
import static org.glassfish.api.naming.SimpleJndiName.JNDI_CTX_JAVA_GLOBAL;
/**
* Descriptor representing a Jakarta EE Managed Bean.
*
* @author Kenneth Saks
*/
public final class ManagedBeanDescriptor extends JndiEnvironmentRefsGroupDescriptor {
private static final long serialVersionUID = 1L;
// *Optional* managed bean name. Only non-null if the
// bean has been assigned a name by the developer.
// (E.g., via the @ManagedBean name() attribute)
private String name;
// fully-qualified class name of managed bean class
private String beanClassName;
// Module in which managed bean is defined
private BundleDescriptor enclosingBundle;
private Object interceptorBuilder;
private final Collection
© 2015 - 2025 Weber Informatics LLC | Privacy Policy