HomeFactoryConfiguration.java :  » Inversion-of-Control » carbon » org » sape » carbon » services » ejb » Java Open Source

Java Open Source » Inversion of Control » carbon 
carbon » org » sape » carbon » services » ejb » HomeFactoryConfiguration.java
/*
 * The contents of this file are subject to the Sapient Public License
 * Version 1.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://carbon.sf.net/License.html.
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specific language governing rights and limitations under the License.
 *
 * The Original Code is The Carbon Component Framework.
 *
 * The Initial Developer of the Original Code is Sapient Corporation
 *
 * Copyright (C) 2003 Sapient Corporation. All Rights Reserved.
 */

package org.sape.carbon.services.ejb;


import org.sape.carbon.core.component.ComponentConfiguration;

import org.sape.carbon.services.jndi.InitialContextFactory;

/**
 * <p>This interface describes an EJB service home factory component.</p>
 * <p>Copyright 2002 Sapient</p>
 * @since carbon 1.0
 * @author Erik M Gottesman, June 2002
 * @version $Revision: 1.8 $($Author: dvoet $ / $Date: 2003/11/05 17:45:16 $)
 */
public interface HomeFactoryConfiguration extends ComponentConfiguration {

    /**
     * <p>Accessor method for retrieving the EJB(s) associated with this
     * home factory.</p>
     * @return EnterpriseBeanConfiguration[] An array of objects that
     * describe the EJBs associated with this home factory component
     */
    EnterpriseBeanConfiguration[] getEnterpriseBean();


    /**
     * <p>Mutator method for associating an EJB with this home factory.</p>
     * @param ejb A description of an EJB to be associated with this home
     * factory
     */
    void setEnterpriseBean(EnterpriseBeanConfiguration ejb);


    InitialContextFactory getInitialContextFactory();
    
    void setInitialContextFactory(InitialContextFactory factory);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.