Save This Page
Home » apache-openwebbeans-1.0.0-incubating-M3-sources » org.apache.webbeans.context » [javadoc | source]
    1   /*
    2    * Licensed to the Apache Software Foundation (ASF) under one or more
    3    * contributor license agreements. See the NOTICE file distributed with this
    4    * work for additional information regarding copyright ownership. The ASF
    5    * licenses this file to You under the Apache License, Version 2.0 (the
    6    * "License"); you may not use this file except in compliance with the License.
    7    * You may obtain a copy of the License at
    8    * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
    9    * or agreed to in writing, software distributed under the License is
   10    * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   11    * KIND, either express or implied. See the License for the specific language
   12    * governing permissions and limitations under the License.
   13    */
   14   package org.apache.webbeans.context;
   15   
   16   import java.util.Map;
   17   
   18   import javax.enterprise.context.spi.Contextual;
   19   
   20   import org.apache.webbeans.context.type.ContextTypes;
   21   
   22   /**
   23    * Defines spi for contexts.
   24    * 
   25    * @version $Rev: 790362 $ $Date: 2009-07-01 23:27:48 +0300 (Wed, 01 Jul 2009) $
   26    */
   27   public interface WebBeansContext extends javax.enterprise.context.spi.Context
   28   {        
   29       /**
   30        * Destroys the context.
   31        */
   32       public void destroy();
   33       
   34       /**
   35        * Returns context type.
   36        * 
   37        * @return context type
   38        */
   39       public ContextTypes getType();
   40       
   41       /**
   42        * Returns instance map.
   43        * 
   44        * @return instance map
   45        */
   46       public Map<Contextual<?>, Object> getComponentInstanceMap();
   47           
   48   }

Save This Page
Home » apache-openwebbeans-1.0.0-incubating-M3-sources » org.apache.webbeans.context » [javadoc | source]