org.jboss.metadata.process.processor.ejb.jboss
Class ClusterConfigDefaultValueProcessor<T extends JBossMetaData>

java.lang.Object
  extended by org.jboss.metadata.process.processor.ejb.jboss.ClusterConfigDefaultValueProcessor<T>
All Implemented Interfaces:
JBossMetaDataProcessor<T>

public class ClusterConfigDefaultValueProcessor<T extends JBossMetaData>
extends Object
implements JBossMetaDataProcessor<T>

Generate a default cluster-configuration if the xml specifies clustered=true only; [JBMETA-133]

Version:
$Revision$
Author:
Emanuel Muckenhuber

Field Summary
static ClusterConfigDefaultValueProcessor<JBossMetaData> INSTANCE
          Convenience instance
 
Constructor Summary
ClusterConfigDefaultValueProcessor()
           
 
Method Summary
 T process(T metadata)
          Performs processing of the specified metadata, returning the result (which is not guaranteed to be the same instance as the input)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ClusterConfigDefaultValueProcessor<JBossMetaData> INSTANCE
Convenience instance

Constructor Detail

ClusterConfigDefaultValueProcessor

public ClusterConfigDefaultValueProcessor()
Method Detail

process

public T process(T metadata)
                                throws ProcessingException
Description copied from interface: JBossMetaDataProcessor
Performs processing of the specified metadata, returning the result (which is not guaranteed to be the same instance as the input)

Specified by:
process in interface JBossMetaDataProcessor<T extends JBossMetaData>
Throws:
ProcessingException


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.