org.apache.jetspeed.serializer
Interface JetspeedSerializerFactory

All Known Implementing Classes:
JetspeedSerializerApplication

public interface JetspeedSerializerFactory

Jetspeed Serializer Factory

Interface for creating serializers. Serializer keep some state so they should be recreated as needed We will revisit this class in the refactoring in 2.2 as Im not really sure why we need a primary and secondary class but I think its related to the dependencies fixed in these issues, see: http://issues.apache.org/jira/browse/JS2-771 and http://issues.apache.org/jira/browse/JS2-770


Field Summary
static java.lang.String PRIMARY
          Create basic Jetspeed Serializer
static java.lang.String SECONDARY
          Create a secondary Jetspeed Serializer (registry data)
 
Method Summary
 JetspeedSerializer create(java.lang.String serializerType)
          Create a Jetspeed Serializer of one of the two supported types
 

Field Detail

PRIMARY

static final java.lang.String PRIMARY
Create basic Jetspeed Serializer

See Also:
Constant Field Values

SECONDARY

static final java.lang.String SECONDARY
Create a secondary Jetspeed Serializer (registry data)

See Also:
Constant Field Values
Method Detail

create

JetspeedSerializer create(java.lang.String serializerType)
Create a Jetspeed Serializer of one of the two supported types

Parameters:
serializerType - eithe PRIMARY OR SECONDARY
Returns:


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.