org.jboss.seam.social
Class SeamSocialExtension

java.lang.Object
  extended by org.jboss.seam.social.SeamSocialExtension
All Implemented Interfaces:
javax.enterprise.inject.spi.Extension

@ApplicationScoped
public class SeamSocialExtension
extends Object
implements javax.enterprise.inject.spi.Extension

Author:
Antoine Sabot-Durand

Constructor Summary
SeamSocialExtension()
           
 
Method Summary
static Set<Annotation> getServicesQualifiersAvailable()
           
static com.google.common.collect.BiMap<Annotation,String> getServicesToQualifier()
           
 Set<String> getSocialRelated()
           
 boolean isMultiSession()
           
 void processAfterDeploymentValidation(javax.enterprise.inject.spi.AfterDeploymentValidation adv)
           
 void processServicesBeans(javax.enterprise.inject.spi.ProcessBean<org.jboss.seam.social.ServiceConfiguration> pbean)
          This Listener build the List of existing OAuthServices with a Qualifier having the meta annotation @ServiceRelated
 void processSettingsBeans(javax.enterprise.inject.spi.ProcessBean<org.jboss.seam.social.oauth.OAuthService> pbean, javax.enterprise.inject.spi.BeanManager beanManager)
          This observer methods build the list of existing Qualifiers having the ServiceRelated meta Annotation on configured service (having the OAuthApplication Annotation)
 void setMultiSession(boolean multiSession)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeamSocialExtension

public SeamSocialExtension()
Method Detail

processSettingsBeans

public void processSettingsBeans(@Observes
                                 javax.enterprise.inject.spi.ProcessBean<org.jboss.seam.social.oauth.OAuthService> pbean,
                                 javax.enterprise.inject.spi.BeanManager beanManager)
This observer methods build the list of existing Qualifiers having the ServiceRelated meta Annotation on configured service (having the OAuthApplication Annotation)

Parameters:
pbean -
beanManager -

processServicesBeans

public void processServicesBeans(@Observes
                                 javax.enterprise.inject.spi.ProcessBean<org.jboss.seam.social.ServiceConfiguration> pbean)
                          throws InstantiationException,
                                 IllegalAccessException
This Listener build the List of existing OAuthServices with a Qualifier having the meta annotation @ServiceRelated

Parameters:
pbean -
Throws:
IllegalAccessException
InstantiationException

getSocialRelated

public Set<String> getSocialRelated()

processAfterDeploymentValidation

public void processAfterDeploymentValidation(@Observes
                                             javax.enterprise.inject.spi.AfterDeploymentValidation adv)

getServicesToQualifier

public static com.google.common.collect.BiMap<Annotation,String> getServicesToQualifier()

getServicesQualifiersAvailable

public static Set<Annotation> getServicesQualifiersAvailable()

isMultiSession

public boolean isMultiSession()

setMultiSession

public void setMultiSession(boolean multiSession)


Copyright © 2011 Seam Framework. All Rights Reserved.