org.apache.myfaces.extensions.cdi.jsf.impl.listener.request
Class FacesMessageEntry

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.jsf.impl.listener.request.FacesMessageEntry
All Implemented Interfaces:
Serializable

@Typed
public class FacesMessageEntry
extends Object
implements Serializable

Entry for FacesMessage which have to be stored longer than a request

See Also:
Serialized Form

Constructor Summary
protected FacesMessageEntry()
           
  FacesMessageEntry(String componentId, javax.faces.application.FacesMessage facesMessage)
          Constructor for creating the entry for the given component-id and FacesMessage
 
Method Summary
 String getComponentId()
          Returns the current component-id
 javax.faces.application.FacesMessage getFacesMessage()
          Returns the current FacesMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesMessageEntry

protected FacesMessageEntry()

FacesMessageEntry

public FacesMessageEntry(String componentId,
                         javax.faces.application.FacesMessage facesMessage)
Constructor for creating the entry for the given component-id and FacesMessage

Parameters:
componentId - current component-id
facesMessage - current faces-message
Method Detail

getComponentId

public String getComponentId()
Returns the current component-id

Returns:
component-id of the entry

getFacesMessage

public javax.faces.application.FacesMessage getFacesMessage()
Returns the current FacesMessage

Returns:
faces-message of the entry


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.