org.filteredpush.applepie.message
Class ApplePieMessageConfigurationFactory

java.lang.Object
  extended by org.filteredpush.applepie.message.ApplePieMessageConfigurationFactory
All Implemented Interfaces:
MessageConfigurationFactory

public class ApplePieMessageConfigurationFactory
extends java.lang.Object
implements MessageConfigurationFactory

Factory class for creating the types that can be assigned to FPMessage fields. Some examples are concrete implementations of ClientIdentity, MessageType and MessageScheme

Author:
dlowery $Id$

Constructor Summary
ApplePieMessageConfigurationFactory()
           
 
Method Summary
 ClientIdentity getClientIdentity(java.lang.String originatorUUID)
          Returns the ClientIdentity implementing class with the originatorUUID value specified by the argument.
 MessageScheme getMessageScheme(java.lang.String name)
          Returns the MessageScheme implementing class with the scheme value specified by the name argument.
 MessageType getMessageType(java.lang.String name)
          Returns the MessageType implementing class with the type value specified by the name argument.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplePieMessageConfigurationFactory

public ApplePieMessageConfigurationFactory()
Method Detail

getMessageType

public MessageType getMessageType(java.lang.String name)
Returns the MessageType implementing class with the type value specified by the name argument.

Specified by:
getMessageType in interface MessageConfigurationFactory

getMessageScheme

public MessageScheme getMessageScheme(java.lang.String name)
Returns the MessageScheme implementing class with the scheme value specified by the name argument.

Specified by:
getMessageScheme in interface MessageConfigurationFactory

getClientIdentity

public ClientIdentity getClientIdentity(java.lang.String originatorUUID)
Returns the ClientIdentity implementing class with the originatorUUID value specified by the argument.

Specified by:
getClientIdentity in interface MessageConfigurationFactory