org.apache.jetspeed.om.portlet.impl
Class PortletApplicationDefinitionImpl

java.lang.Object
  extended by org.apache.jetspeed.om.portlet.impl.PortletApplicationDefinitionImpl
All Implemented Interfaces:
java.io.Serializable, Support, PortletApplication, org.apache.ojb.broker.PersistenceBrokerAware, org.apache.pluto.container.om.portlet.PortletApplicationDefinition

public class PortletApplicationDefinitionImpl
extends java.lang.Object
implements PortletApplication, java.io.Serializable, Support, org.apache.ojb.broker.PersistenceBrokerAware

Since:
1.0
Version:
$Id: PortletApplicationDefinitionImpl.java 1074422 2011-02-25 07:45:03Z taylor $
Author:
Paul Spencer, Scott T. Weaver
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.jetspeed.om.portlet.PortletApplication
LOCAL, WEBAPP
 
Fields inherited from interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
JSR_168_VERSION, JSR_286_VERSION
 
Constructor Summary
PortletApplicationDefinitionImpl()
          Creates a new instance of BaseApplication
 
Method Summary
 PortletDefinition addClone(java.lang.String name)
           
 ContainerRuntimeOption addContainerRuntimeOption(java.lang.String name)
           
 CustomPortletMode addCustomPortletMode(java.lang.String name)
           
 CustomWindowState addCustomWindowState(java.lang.String name)
           
 Description addDescription(java.lang.String lang)
           
 DisplayName addDisplayName(java.lang.String lang)
           
 EventDefinition addEventDefinition(javax.xml.namespace.QName qname)
           
 EventDefinition addEventDefinition(java.lang.String name)
           
 Filter addFilter(java.lang.String filterName)
           
 FilterMapping addFilterMapping(java.lang.String filterName)
           
 void addJetspeedServiceReference(java.lang.String name)
           
 Listener addListener(java.lang.String listenerClass)
           
 void addLocaleEncodingMapping(java.util.Locale locale, java.lang.String encoding)
           
 PortletDefinition addPortlet(java.lang.String name)
           
 PublicRenderParameter addPublicRenderParameter(javax.xml.namespace.QName qname, java.lang.String identifier)
           
 PublicRenderParameter addPublicRenderParameter(java.lang.String name, java.lang.String identifier)
           
 SecurityConstraint addSecurityConstraint(java.lang.String transportGuarantee)
           
 SecurityRole addSecurityRole(java.lang.String name)
           
 UserAttribute addUserAttribute(java.lang.String name)
           
 UserAttributeRef addUserAttributeRef(java.lang.String name)
           
 void afterDelete(org.apache.ojb.broker.PersistenceBroker arg0)
           
 void afterInsert(org.apache.ojb.broker.PersistenceBroker arg0)
           
 void afterLookup(org.apache.ojb.broker.PersistenceBroker arg0)
           
 void afterUpdate(org.apache.ojb.broker.PersistenceBroker arg0)
           
 void beforeDelete(org.apache.ojb.broker.PersistenceBroker arg0)
           
 void beforeInsert(org.apache.ojb.broker.PersistenceBroker arg0)
           
 void beforeUpdate(org.apache.ojb.broker.PersistenceBroker arg0)
           
protected  boolean containsPublicRenderParameter(PublicRenderParameter prp)
           
 int getApplicationType()
           
 long getChecksum()
           
 PortletDefinition getClone(java.lang.String cloneName)
           
 java.util.List<PortletDefinition> getClones()
           
 ContainerRuntimeOption getContainerRuntimeOption(java.lang.String name)
           
 java.util.List<ContainerRuntimeOption> getContainerRuntimeOptions()
           
 java.lang.String getContextPath()
           
 javax.portlet.PortletMode getCustomPortletMode(javax.portlet.PortletMode mode)
           
 CustomPortletMode getCustomPortletMode(java.lang.String name)
           
 java.util.List<CustomPortletMode> getCustomPortletModes()
           
 CustomWindowState getCustomWindowState(java.lang.String name)
           
 javax.portlet.WindowState getCustomWindowState(javax.portlet.WindowState state)
           
 java.util.List<CustomWindowState> getCustomWindowStates()
           
 java.lang.String getDefaultNamespace()
           
 Description getDescription(java.util.Locale locale)
           
 java.util.List<Description> getDescriptions()
           
 DisplayName getDisplayName(java.util.Locale locale)
           
 java.util.List<DisplayName> getDisplayNames()
           
 java.util.List<EventDefinition> getEventDefinitions()
           
 Filter getFilter(java.lang.String filterName)
           
 FilterMapping getFilterMapping(java.lang.String filterName)
           
 java.util.List<FilterMapping> getFilterMappings()
           
 java.util.List<Filter> getFilters()
           
 java.lang.String getJetspeedSecurityConstraint()
           
 java.util.List<JetspeedServiceReference> getJetspeedServices()
           
 java.util.List<Listener> getListeners()
           
 java.lang.String getLocalContextPath()
           
 java.util.Map<java.util.Locale,java.lang.String> getLocaleEncodingMappings()
           
 javax.portlet.PortletMode getMappedPortletMode(javax.portlet.PortletMode mode)
           
 javax.portlet.WindowState getMappedWindowState(javax.portlet.WindowState state)
           
 GenericMetadata getMetadata()
           
 java.lang.String getName()
           
 PortletDefinition getPortlet(java.lang.String portletName)
           
 java.util.List<PortletDefinition> getPortlets()
           
 PublicRenderParameter getPublicRenderParameter(java.lang.String identifier)
           
 java.util.List<PublicRenderParameter> getPublicRenderParameters()
           
 java.lang.String getResourceBundle()
           
 long getRevision()
           
 SecurityConstraint getSecurityConstraint(java.lang.String transport)
           
 java.util.List<SecurityConstraint> getSecurityConstraints()
           
 java.util.List<SecurityRole> getSecurityRoles()
           
 java.util.List<javax.portlet.PortletMode> getSupportedPortletModes()
           
 java.util.List<javax.portlet.WindowState> getSupportedWindowStates()
           
 UserAttribute getUserAttribute(java.lang.String name)
           
 UserAttributeRef getUserAttributeRef(java.lang.String name)
           
 java.util.List<UserAttributeRef> getUserAttributeRefs()
           
 java.util.List<UserAttribute> getUserAttributes()
           
 java.lang.String getVersion()
           
 boolean isLayoutApplication()
           
 void postLoad(java.lang.Object parameter)
           
 void setApplicationType(int type)
           
 void setChecksum(long checksum)
           
 void setContextPath(java.lang.String contextPath)
           
 void setDefaultNamespace(java.lang.String defaultNamespace)
           
 void setJetspeedSecurityConstraint(java.lang.String constraint)
           
 void setLocalContextPath(java.lang.String localContextPath)
           
 void setName(java.lang.String name)
           
 void setResourceBundle(java.lang.String resourceBundle)
           
 void setRevision(long revision)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletApplicationDefinitionImpl

public PortletApplicationDefinitionImpl()
Creates a new instance of BaseApplication

Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
See Also:
Application

setName

public void setName(java.lang.String name)
Specified by:
setName in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
See Also:
Application

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
See Also:
Application

setVersion

public void setVersion(java.lang.String version)
Specified by:
setVersion in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition
See Also:
Application

setApplicationType

public void setApplicationType(int type)
Specified by:
setApplicationType in interface PortletApplication
See Also:
PortletApplication.setApplicationType(int)

getApplicationType

public int getApplicationType()
Specified by:
getApplicationType in interface PortletApplication
See Also:
PortletApplication.getApplicationType()

getChecksum

public long getChecksum()
Specified by:
getChecksum in interface PortletApplication

setChecksum

public void setChecksum(long checksum)
Specified by:
setChecksum in interface PortletApplication

getRevision

public long getRevision()
Specified by:
getRevision in interface PortletApplication

setRevision

public void setRevision(long revision)
Specified by:
setRevision in interface PortletApplication

setContextPath

public void setContextPath(java.lang.String contextPath)
Specified by:
setContextPath in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getContextPath

public java.lang.String getContextPath()
Specified by:
getContextPath in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getDefaultNamespace

public java.lang.String getDefaultNamespace()
Specified by:
getDefaultNamespace in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

setDefaultNamespace

public void setDefaultNamespace(java.lang.String defaultNamespace)
Specified by:
setDefaultNamespace in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getResourceBundle

public java.lang.String getResourceBundle()
Specified by:
getResourceBundle in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

setResourceBundle

public void setResourceBundle(java.lang.String resourceBundle)
Specified by:
setResourceBundle in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getJetspeedSecurityConstraint

public java.lang.String getJetspeedSecurityConstraint()
Specified by:
getJetspeedSecurityConstraint in interface PortletApplication

setJetspeedSecurityConstraint

public void setJetspeedSecurityConstraint(java.lang.String constraint)
Specified by:
setJetspeedSecurityConstraint in interface PortletApplication

getMetadata

public GenericMetadata getMetadata()
Specified by:
getMetadata in interface PortletApplication
See Also:
PortletApplication.getMetadata()

getDescription

public Description getDescription(java.util.Locale locale)
Specified by:
getDescription in interface PortletApplication

getDescriptions

public java.util.List<Description> getDescriptions()
Specified by:
getDescriptions in interface PortletApplication

addDescription

public Description addDescription(java.lang.String lang)
Specified by:
addDescription in interface PortletApplication

getDisplayName

public DisplayName getDisplayName(java.util.Locale locale)
Specified by:
getDisplayName in interface PortletApplication

getDisplayNames

public java.util.List<DisplayName> getDisplayNames()
Specified by:
getDisplayNames in interface PortletApplication

addDisplayName

public DisplayName addDisplayName(java.lang.String lang)
Specified by:
addDisplayName in interface PortletApplication

getSecurityRoles

public java.util.List<SecurityRole> getSecurityRoles()
Specified by:
getSecurityRoles in interface PortletApplication

addSecurityRole

public SecurityRole addSecurityRole(java.lang.String name)
Specified by:
addSecurityRole in interface PortletApplication

getPortlet

public PortletDefinition getPortlet(java.lang.String portletName)
Specified by:
getPortlet in interface PortletApplication
Specified by:
getPortlet in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getClone

public PortletDefinition getClone(java.lang.String cloneName)
Specified by:
getClone in interface PortletApplication

getPortlets

public java.util.List<PortletDefinition> getPortlets()
Specified by:
getPortlets in interface PortletApplication
Specified by:
getPortlets in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getClones

public java.util.List<PortletDefinition> getClones()
Specified by:
getClones in interface PortletApplication

addPortlet

public PortletDefinition addPortlet(java.lang.String name)
Specified by:
addPortlet in interface PortletApplication
Specified by:
addPortlet in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addClone

public PortletDefinition addClone(java.lang.String name)
Specified by:
addClone in interface PortletApplication

getEventDefinitions

public java.util.List<EventDefinition> getEventDefinitions()
Specified by:
getEventDefinitions in interface PortletApplication
Specified by:
getEventDefinitions in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addEventDefinition

public EventDefinition addEventDefinition(java.lang.String name)
Specified by:
addEventDefinition in interface PortletApplication
Specified by:
addEventDefinition in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addEventDefinition

public EventDefinition addEventDefinition(javax.xml.namespace.QName qname)
Specified by:
addEventDefinition in interface PortletApplication
Specified by:
addEventDefinition in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getPublicRenderParameter

public PublicRenderParameter getPublicRenderParameter(java.lang.String identifier)
Specified by:
getPublicRenderParameter in interface PortletApplication
Specified by:
getPublicRenderParameter in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getPublicRenderParameters

public java.util.List<PublicRenderParameter> getPublicRenderParameters()
Specified by:
getPublicRenderParameters in interface PortletApplication
Specified by:
getPublicRenderParameters in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addPublicRenderParameter

public PublicRenderParameter addPublicRenderParameter(java.lang.String name,
                                                      java.lang.String identifier)
Specified by:
addPublicRenderParameter in interface PortletApplication
Specified by:
addPublicRenderParameter in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addPublicRenderParameter

public PublicRenderParameter addPublicRenderParameter(javax.xml.namespace.QName qname,
                                                      java.lang.String identifier)
Specified by:
addPublicRenderParameter in interface PortletApplication
Specified by:
addPublicRenderParameter in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

containsPublicRenderParameter

protected boolean containsPublicRenderParameter(PublicRenderParameter prp)

getCustomPortletMode

public CustomPortletMode getCustomPortletMode(java.lang.String name)
Specified by:
getCustomPortletMode in interface PortletApplication
Specified by:
getCustomPortletMode in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getCustomPortletMode

public javax.portlet.PortletMode getCustomPortletMode(javax.portlet.PortletMode mode)
Specified by:
getCustomPortletMode in interface PortletApplication

getCustomPortletModes

public java.util.List<CustomPortletMode> getCustomPortletModes()
Specified by:
getCustomPortletModes in interface PortletApplication
Specified by:
getCustomPortletModes in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addCustomPortletMode

public CustomPortletMode addCustomPortletMode(java.lang.String name)
Specified by:
addCustomPortletMode in interface PortletApplication
Specified by:
addCustomPortletMode in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getCustomWindowState

public CustomWindowState getCustomWindowState(java.lang.String name)
Specified by:
getCustomWindowState in interface PortletApplication
Specified by:
getCustomWindowState in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getCustomWindowState

public javax.portlet.WindowState getCustomWindowState(javax.portlet.WindowState state)
Specified by:
getCustomWindowState in interface PortletApplication

getCustomWindowStates

public java.util.List<CustomWindowState> getCustomWindowStates()
Specified by:
getCustomWindowStates in interface PortletApplication
Specified by:
getCustomWindowStates in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addCustomWindowState

public CustomWindowState addCustomWindowState(java.lang.String name)
Specified by:
addCustomWindowState in interface PortletApplication
Specified by:
addCustomWindowState in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getSupportedPortletModes

public java.util.List<javax.portlet.PortletMode> getSupportedPortletModes()
Specified by:
getSupportedPortletModes in interface PortletApplication

getSupportedWindowStates

public java.util.List<javax.portlet.WindowState> getSupportedWindowStates()
Specified by:
getSupportedWindowStates in interface PortletApplication

getMappedPortletMode

public javax.portlet.PortletMode getMappedPortletMode(javax.portlet.PortletMode mode)
Specified by:
getMappedPortletMode in interface PortletApplication

getMappedWindowState

public javax.portlet.WindowState getMappedWindowState(javax.portlet.WindowState state)
Specified by:
getMappedWindowState in interface PortletApplication

getUserAttribute

public UserAttribute getUserAttribute(java.lang.String name)
Specified by:
getUserAttribute in interface PortletApplication
Specified by:
getUserAttribute in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getUserAttributes

public java.util.List<UserAttribute> getUserAttributes()
Specified by:
getUserAttributes in interface PortletApplication
Specified by:
getUserAttributes in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addUserAttribute

public UserAttribute addUserAttribute(java.lang.String name)
Specified by:
addUserAttribute in interface PortletApplication
Specified by:
addUserAttribute in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getUserAttributeRef

public UserAttributeRef getUserAttributeRef(java.lang.String name)
Specified by:
getUserAttributeRef in interface PortletApplication

getUserAttributeRefs

public java.util.List<UserAttributeRef> getUserAttributeRefs()
Specified by:
getUserAttributeRefs in interface PortletApplication

addUserAttributeRef

public UserAttributeRef addUserAttributeRef(java.lang.String name)
Specified by:
addUserAttributeRef in interface PortletApplication

getSecurityConstraints

public java.util.List<SecurityConstraint> getSecurityConstraints()
Specified by:
getSecurityConstraints in interface PortletApplication
Specified by:
getSecurityConstraints in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addSecurityConstraint

public SecurityConstraint addSecurityConstraint(java.lang.String transportGuarantee)
Specified by:
addSecurityConstraint in interface PortletApplication
Specified by:
addSecurityConstraint in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getSecurityConstraint

public SecurityConstraint getSecurityConstraint(java.lang.String transport)

getFilter

public Filter getFilter(java.lang.String filterName)
Specified by:
getFilter in interface PortletApplication
Specified by:
getFilter in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getFilters

public java.util.List<Filter> getFilters()
Specified by:
getFilters in interface PortletApplication
Specified by:
getFilters in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addFilter

public Filter addFilter(java.lang.String filterName)
Specified by:
addFilter in interface PortletApplication
Specified by:
addFilter in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getFilterMapping

public FilterMapping getFilterMapping(java.lang.String filterName)
Specified by:
getFilterMapping in interface PortletApplication
Specified by:
getFilterMapping in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getFilterMappings

public java.util.List<FilterMapping> getFilterMappings()
Specified by:
getFilterMappings in interface PortletApplication
Specified by:
getFilterMappings in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addFilterMapping

public FilterMapping addFilterMapping(java.lang.String filterName)
Specified by:
addFilterMapping in interface PortletApplication
Specified by:
addFilterMapping in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getListeners

public java.util.List<Listener> getListeners()
Specified by:
getListeners in interface PortletApplication
Specified by:
getListeners in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addListener

public Listener addListener(java.lang.String listenerClass)
Specified by:
addListener in interface PortletApplication
Specified by:
addListener in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getContainerRuntimeOption

public ContainerRuntimeOption getContainerRuntimeOption(java.lang.String name)
Specified by:
getContainerRuntimeOption in interface PortletApplication
Specified by:
getContainerRuntimeOption in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getContainerRuntimeOptions

public java.util.List<ContainerRuntimeOption> getContainerRuntimeOptions()
Specified by:
getContainerRuntimeOptions in interface PortletApplication
Specified by:
getContainerRuntimeOptions in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addContainerRuntimeOption

public ContainerRuntimeOption addContainerRuntimeOption(java.lang.String name)
Specified by:
addContainerRuntimeOption in interface PortletApplication
Specified by:
addContainerRuntimeOption in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getLocaleEncodingMappings

public java.util.Map<java.util.Locale,java.lang.String> getLocaleEncodingMappings()
Specified by:
getLocaleEncodingMappings in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

addLocaleEncodingMapping

public void addLocaleEncodingMapping(java.util.Locale locale,
                                     java.lang.String encoding)
Specified by:
addLocaleEncodingMapping in interface org.apache.pluto.container.om.portlet.PortletApplicationDefinition

getJetspeedServices

public java.util.List<JetspeedServiceReference> getJetspeedServices()
Specified by:
getJetspeedServices in interface PortletApplication

addJetspeedServiceReference

public void addJetspeedServiceReference(java.lang.String name)
Specified by:
addJetspeedServiceReference in interface PortletApplication

isLayoutApplication

public boolean isLayoutApplication()
Specified by:
isLayoutApplication in interface PortletApplication

postLoad

public void postLoad(java.lang.Object parameter)
              throws java.lang.Exception
Specified by:
postLoad in interface Support
Throws:
java.lang.Exception

afterDelete

public void afterDelete(org.apache.ojb.broker.PersistenceBroker arg0)
                 throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
afterDelete in interface org.apache.ojb.broker.PersistenceBrokerAware
Throws:
org.apache.ojb.broker.PersistenceBrokerException

afterInsert

public void afterInsert(org.apache.ojb.broker.PersistenceBroker arg0)
                 throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
afterInsert in interface org.apache.ojb.broker.PersistenceBrokerAware
Throws:
org.apache.ojb.broker.PersistenceBrokerException

afterLookup

public void afterLookup(org.apache.ojb.broker.PersistenceBroker arg0)
                 throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
afterLookup in interface org.apache.ojb.broker.PersistenceBrokerAware
Throws:
org.apache.ojb.broker.PersistenceBrokerException

afterUpdate

public void afterUpdate(org.apache.ojb.broker.PersistenceBroker arg0)
                 throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
afterUpdate in interface org.apache.ojb.broker.PersistenceBrokerAware
Throws:
org.apache.ojb.broker.PersistenceBrokerException

beforeDelete

public void beforeDelete(org.apache.ojb.broker.PersistenceBroker arg0)
                  throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
beforeDelete in interface org.apache.ojb.broker.PersistenceBrokerAware
Throws:
org.apache.ojb.broker.PersistenceBrokerException

beforeInsert

public void beforeInsert(org.apache.ojb.broker.PersistenceBroker arg0)
                  throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
beforeInsert in interface org.apache.ojb.broker.PersistenceBrokerAware
Throws:
org.apache.ojb.broker.PersistenceBrokerException

beforeUpdate

public void beforeUpdate(org.apache.ojb.broker.PersistenceBroker arg0)
                  throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
beforeUpdate in interface org.apache.ojb.broker.PersistenceBrokerAware
Throws:
org.apache.ojb.broker.PersistenceBrokerException

getLocalContextPath

public java.lang.String getLocalContextPath()
Specified by:
getLocalContextPath in interface PortletApplication

setLocalContextPath

public void setLocalContextPath(java.lang.String localContextPath)
Specified by:
setLocalContextPath in interface PortletApplication


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