org.jboss.portlet.content
Class ContentTypeRegistration

java.lang.Object
  extended by org.jboss.portlet.content.ContentTypeRegistration
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class ContentTypeRegistration
extends java.lang.Object
implements javax.servlet.ServletContextListener

Provide registration of a content type with a portlet instance. This listener can be used in war files to register content driven portlet.

Version:
$Revision: 8786 $
Author:
Julien Viet, Thomas Heute

Constructor Summary
ContentTypeRegistration()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
           
 void contextInitialized(javax.servlet.ServletContextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTypeRegistration

public ContentTypeRegistration()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent event)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener