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

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

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

SetDefaultLocalBusinessInterfaceProcessor Processor to set the default local business interface on EJBs with only one interface implemented, and not explicitly marked as either @Local or @Remote EJB3 Core Spec 4.6.6

Version:
$Revision: $
Author:
ALR

Constructor Summary
SetDefaultLocalBusinessInterfaceProcessor(ClassLoader cl)
          Sole Constructor
 
Method Summary
 ClassLoader getCl()
           
 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)
protected  void setCl(ClassLoader cl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetDefaultLocalBusinessInterfaceProcessor

public SetDefaultLocalBusinessInterfaceProcessor(ClassLoader cl)
Sole Constructor

Parameters:
cl - The ClassLoader to use in Processing
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

getCl

public ClassLoader getCl()

setCl

protected void setCl(ClassLoader cl)


Copyright © 2009 JBoss Inc.. All Rights Reserved.