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

org.apache.webbeans.component.creation.InjectedTargetBeanCreator Maven / Gradle / Ivy

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package org.apache.webbeans.component.creation;

import java.util.Set;

import javax.enterprise.inject.spi.ObserverMethod;

import org.apache.webbeans.component.ProducerFieldBean;
import org.apache.webbeans.component.ProducerMethodBean;

/**
 * Contract for {@link org.apache.webbeans.component.InjectionTargetBean} creation.
 * 
 * 

* Common operations for ManagedBean. *

* * @version $Rev: 952591 $ $Date: 2010-06-08 11:45:27 +0200 (Di, 08 Jun 2010) $ * * @param bean class info */ public interface InjectedTargetBeanCreator { /** * Defines bean's producer methods. * * @return set of producer methods */ public Set> defineProducerMethods(); /** * Defines bean's producer fields. * * @return set of producer fields */ public Set> defineProducerFields(); /** * Defines disposal methods. */ public void defineDisposalMethods(); /** * Define injected fields. */ public void defineInjectedFields(); /** * Define injected methods, a.k.a @Initializer */ public void defineInjectedMethods(); /** * Define observer methods, a.k.a method parameter with @Observes */ public Set> defineObserverMethods(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy