de.novanic.eventservice.client.event.domain
Class DomainFactory

java.lang.Object
  extended by de.novanic.eventservice.client.event.domain.DomainFactory

public final class DomainFactory
extends java.lang.Object

The DomainFactory creates new Domains (Domain) with a name. The name should be unique to avoid 'collision' of events.

Author:
sstrohschein
Date: 15.08.2008
Time: 22:45:28
See Also:
Domain

Field Summary
static Domain UNLISTEN_DOMAIN
          All unlisten event (UnlistenEvent) will be registered to the UNLISTEN_DOMAIN.
 
Method Summary
static Domain getDomain(java.lang.String aDomainName)
          Creates a new Domain with a name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNLISTEN_DOMAIN

public static final Domain UNLISTEN_DOMAIN
All unlisten event (UnlistenEvent) will be registered to the UNLISTEN_DOMAIN.

Method Detail

getDomain

public static Domain getDomain(java.lang.String aDomainName)
Creates a new Domain with a name. The name should be unique to avoid 'collision' of events.

Parameters:
aDomainName - unique domain name
Returns:
Domain