info.magnolia.module.blossom.dialog
Class DialogExporter

java.lang.Object
  extended by info.magnolia.module.blossom.support.AbstractBeanDetector
      extended by info.magnolia.module.blossom.dialog.DialogExporter
All Implemented Interfaces:
BlossomDispatcherAware, EventListener, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

public class DialogExporter
extends AbstractBeanDetector
implements org.springframework.beans.factory.InitializingBean

Detects class level dialog factories by scanning beans in the local application context and registers them with the dialog registry.

Since:
1.1.1
See Also:
DialogFactory, BlossomDialogRegistry

Constructor Summary
DialogExporter()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  boolean include(Class<?> beanType, String beanName)
           
protected  void onBeanDetection(Object bean, String beanName)
           
 void setDialogDescriptionBuilder(DialogDescriptionBuilder dialogDescriptionBuilder)
           
 
Methods inherited from class info.magnolia.module.blossom.support.AbstractBeanDetector
detectBeans, getApplicationContext, getType, onApplicationEvent, setApplicationContext, setBlossomDispatcher, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogExporter

public DialogExporter()
Method Detail

setDialogDescriptionBuilder

public void setDialogDescriptionBuilder(DialogDescriptionBuilder dialogDescriptionBuilder)

include

protected boolean include(Class<?> beanType,
                          String beanName)
Overrides:
include in class AbstractBeanDetector

onBeanDetection

protected void onBeanDetection(Object bean,
                               String beanName)
Specified by:
onBeanDetection in class AbstractBeanDetector

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2009-2012 Magnolia International Ltd.. All Rights Reserved.