Package org.apache.webbeans.plugins

Examples of org.apache.webbeans.plugins.PluginLoader


     * @return true if given class is an deployed ejb bean class
     * @throws WebBeansConfigurationException if any exception occurs
     */
    public static boolean isSessionBean(Class<?> clazz) throws WebBeansConfigurationException
    {
        PluginLoader loader = PluginLoader.getInstance();
        OpenWebBeansEjbPlugin ejbPlugin = loader.getEjbPlugin();
       
        //There is no ejb container
        if(ejbPlugin == null)
        {
            return false;
View Full Code Here


     * @param clazz bean class
     * @return ejb bean
     */
    public static <T> Bean<T> defineEjbBean(Class<T> clazz, ProcessAnnotatedType<T> processAnnotatedTypeEvent)
    {
        PluginLoader loader = PluginLoader.getInstance();
        OpenWebBeansEjbPlugin ejbPlugin = loader.getEjbPlugin();
       
        if(ejbPlugin == null)
        {
            throw new IllegalStateException("There is no provided EJB plugin. Unable to define session bean for class : " + clazz.getName());
        }
View Full Code Here

     * @return true if given class is an deployed ejb bean class
     * @throws WebBeansConfigurationException if any exception occurs
     */
    public static boolean isSessionBean(Class<?> clazz) throws WebBeansConfigurationException
    {
        PluginLoader loader = PluginLoader.getInstance();
        OpenWebBeansEjbPlugin ejbPlugin = loader.getEjbPlugin();
       
        //There is no ejb container
        if(ejbPlugin == null)
        {
            return false;
View Full Code Here

     * @param clazz bean class
     * @return ejb bean
     */
    public static <T> Bean<T> defineEjbBean(Class<T> clazz)
    {
        PluginLoader loader = PluginLoader.getInstance();
        OpenWebBeansEjbPlugin ejbPlugin = loader.getEjbPlugin();
       
        if(ejbPlugin == null)
        {
            throw new IllegalStateException("There is no provided EJB plugin. Unable to define session bean for class : " + clazz.getName());
        }
View Full Code Here

     * @return true if given class is an deployed ejb bean class
     * @throws WebBeansConfigurationException if any exception occurs
     */
    public static boolean isSessionBean(Class<?> clazz, WebBeansContext webBeansContext) throws WebBeansConfigurationException
    {
        PluginLoader loader = webBeansContext.getPluginLoader();
        OpenWebBeansEjbPlugin ejbPlugin = loader.getEjbPlugin();
       
        //There is no ejb container
        if(ejbPlugin == null)
        {
            return false;
View Full Code Here

     * @return ejb bean
     */
    public static <T> Bean<T> defineEjbBean(Class<T> clazz, ProcessAnnotatedType<T> processAnnotatedTypeEvent,
                                            WebBeansContext webBeansContext)
    {
        PluginLoader loader = webBeansContext.getPluginLoader();
        OpenWebBeansEjbPlugin ejbPlugin = loader.getEjbPlugin();
       
        if(ejbPlugin == null)
        {
            throw new IllegalStateException("There is no provided EJB plugin. Unable to define session bean for class : " + clazz.getName());
        }
View Full Code Here

     * @return true if given class is an deployed ejb bean class
     * @throws WebBeansConfigurationException if any exception occurs
     */
    public static boolean isSessionBean(Class<?> clazz, WebBeansContext webBeansContext) throws WebBeansConfigurationException
    {
        PluginLoader loader = webBeansContext.getPluginLoader();
        OpenWebBeansEjbPlugin ejbPlugin = loader.getEjbPlugin();
       
        //There is no ejb container
        if(ejbPlugin == null)
        {
            return false;
View Full Code Here

     * @return ejb bean
     */
    public static <T> Bean<T> defineEjbBean(Class<T> clazz, AnnotatedType<T> annotatedType,
                                            WebBeansContext webBeansContext)
    {
        PluginLoader loader = webBeansContext.getPluginLoader();
        OpenWebBeansEjbPlugin ejbPlugin = loader.getEjbPlugin();
       
        if(ejbPlugin == null)
        {
            throw new IllegalStateException("There is no provided EJB plugin. Unable to define session bean for class : " + clazz.getName());
        }
View Full Code Here

TOP

Related Classes of org.apache.webbeans.plugins.PluginLoader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.