1 /*2 * JBoss, Home of Professional Open Source3 * Copyright 2005, JBoss Inc., and individual contributors as indicated4 * by the @authors tag. See the copyright.txt in the distribution for a5 * full listing of individual contributors.6 *7 * This is free software; you can redistribute it and/or modify it8 * under the terms of the GNU Lesser General Public License as9 * published by the Free Software Foundation; either version 2.1 of10 * the License, or (at your option) any later version.11 *12 * This software is distributed in the hope that it will be useful,13 * but WITHOUT ANY WARRANTY; without even the implied warranty of14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU15 * Lesser General Public License for more details.16 *17 * You should have received a copy of the GNU Lesser General Public18 * License along with this software; if not, write to the Free19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.21 */22 package org.jboss.ejb3.metamodel;23 24 import java.util.Collection ;25 import java.util.List ;26 27 import org.jboss.metamodel.descriptor.EjbLocalRef;28 import org.jboss.metamodel.descriptor.EjbRef;29 import org.jboss.metamodel.descriptor.JndiRef;30 import org.jboss.metamodel.descriptor.MessageDestinationRef;31 import org.jboss.metamodel.descriptor.PersistenceUnitRef;32 import org.jboss.metamodel.descriptor.ResourceEnvRef;33 import org.jboss.metamodel.descriptor.ResourceRef;34 import org.jboss.metamodel.descriptor.ServiceRef;35 import org.jboss.metamodel.descriptor.PersistenceContextRef;36 37 /**38 * 39 * @author <a HREF="kabir.khan@jboss.com">Kabir Khan</a>40 * @version $Revision: 58121 $41 */42 public interface Injectable43 {44 45 Collection <EjbLocalRef> getEjbLocalRefs();46 47 Collection <EjbRef> getEjbRefs();48 49 Collection <ResourceEnvRef> getResourceEnvRefs();50 51 Collection <ResourceRef> getResourceRefs();52 53 Collection <ServiceRef> getServiceRefs();54 55 Collection <MessageDestinationRef> getMessageDestinationRefs();56 57 List <PersistenceUnitRef> getPersistenceUnitRefs();58 59 List <PersistenceContextRef> getPersistenceContextRefs();60 61 Collection <JndiRef> getJndiRefs();62 }