All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.as.ejb3.deployment.EjbDeploymentAttachmentKeys Maven / Gradle / Ivy

There is a newer version: 33.0.2.Final
Show newest version
/*
 * JBoss, Home of Professional Open Source.
 * Copyright 2010, Red Hat, Inc., and individual contributors
 * as indicated by the @author tags. See the copyright.txt file in the
 * distribution for a full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

package org.jboss.as.ejb3.deployment;

import org.jboss.as.ejb3.deployment.processors.EjbInjectionSource;
import org.jboss.as.ejb3.remote.EJBClientContextService;
import org.jboss.as.ejb3.security.EjbJaccConfig;
import org.jboss.as.ejb3.subsystem.deployment.InstalledComponent;
import org.jboss.as.server.deployment.AttachmentKey;
import org.jboss.as.server.deployment.AttachmentList;
import org.jboss.metadata.ejb.spec.EjbJarMetaData;
import org.jboss.msc.service.ServiceName;

/**
 * {@link org.jboss.as.server.deployment.DeploymentUnitProcessor} attachment keys specific to EJB3 deployment
 * unit processors
 * 

* Author: Jaikiran Pai */ public class EjbDeploymentAttachmentKeys { /** * Attachment key to the {@link EjbJarMetaData} attachment representing the metadata created out of the ejb-jar.xml * deployment descriptor */ public static final AttachmentKey EJB_JAR_METADATA = AttachmentKey.create(EjbJarMetaData.class); public static final AttachmentKey EJB_JAR_DESCRIPTION = AttachmentKey.create(EjbJarDescription.class); public static final AttachmentKey APPLICATION_EXCEPTION_DESCRIPTIONS = AttachmentKey.create(ApplicationExceptionDescriptions.class); public static final AttachmentKey APPLICATION_EXCEPTION_DETAILS = AttachmentKey.create(ApplicationExceptions.class); public static final AttachmentKey> EJB_INJECTIONS = AttachmentKey.createList(EjbInjectionSource.class); public static final AttachmentKey EJB_CLIENT_CONTEXT_SERVICE = AttachmentKey.create(EJBClientContextService.class); public static final AttachmentKey EJB_CLIENT_CONTEXT_SERVICE_NAME = AttachmentKey.create(ServiceName.class); public static final AttachmentKey EJB_REMOTING_PROFILE_SERVICE_NAME = AttachmentKey.create(ServiceName.class); /** * components that have been registered with the management API */ public static final AttachmentKey> MANAGED_COMPONENTS = AttachmentKey.createList(InstalledComponent.class); public static final AttachmentKey> JACC_PERMISSIONS = AttachmentKey.createList(EjbJaccConfig.class); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy