org.apache.jetspeed.serializer
Interface JetspeedSerializerFactory


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 String PRIMARY
          Create basic Jetspeed Serializer
static String SECONDARY
          Create a secondary Jetspeed Serializer (registry data)
 
Method Summary
 JetspeedSerializer create(String serializerType)
          Create a Jetspeed Serializer of one of the two supported types
 

Field Detail

PRIMARY

static final String PRIMARY
Create basic Jetspeed Serializer

See Also:
Constant Field Values

SECONDARY

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

See Also:
Constant Field Values
Method Detail

create

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

Parameters:
serializerType - eithe PRIMARY OR SECONDARY
Returns:


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