com.j2biz.blogunity.services
Class EventService

java.lang.Object
  extended bycom.j2biz.blogunity.services.Service
      extended bycom.j2biz.blogunity.services.EventService

public class EventService
extends Service

Since:
0.1
Author:
michelson

Method Summary
 void addBlogListener(BlogListener listener)
           
 void addEntryListener(EntryListener listener)
           
 void addUserListener(UserListener listener)
           
 void destroy(SystemConfiguration config)
           
 void fireBlogEvent(Blog blog, int type)
           
 void fireEntryEvent(Entry entry, int type)
           
 void fireUserEvent(User user, int type)
           
static EventService getInstance()
           
 void init(SystemConfiguration config)
           
 void removeBlogListener(BlogListener listener)
           
 void removeEntryListener(EntryListener listener)
           
 void removeUserListener(UserListener listener)
           
 
Methods inherited from class com.j2biz.blogunity.services.Service
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static EventService getInstance()

init

public void init(SystemConfiguration config)
          throws SystemException
Specified by:
init in class Service
Throws:
SystemException

destroy

public void destroy(SystemConfiguration config)
             throws SystemException
Specified by:
destroy in class Service
Throws:
SystemException

fireUserEvent

public void fireUserEvent(User user,
                          int type)

fireBlogEvent

public void fireBlogEvent(Blog blog,
                          int type)

fireEntryEvent

public void fireEntryEvent(Entry entry,
                           int type)

addUserListener

public void addUserListener(UserListener listener)

removeUserListener

public void removeUserListener(UserListener listener)

addBlogListener

public void addBlogListener(BlogListener listener)

removeBlogListener

public void removeBlogListener(BlogListener listener)

addEntryListener

public void addEntryListener(EntryListener listener)

removeEntryListener

public void removeEntryListener(EntryListener listener)


Copyright (c)j2biz.com