pl.bristleback.server.bristle.config
Class PackageActionAnnotationsProcessor

java.lang.Object
  extended by pl.bristleback.server.bristle.config.PackageActionAnnotationsProcessor
All Implemented Interfaces:
ActionAnnotationsProcessor

public final class PackageActionAnnotationsProcessor
extends java.lang.Object
implements ActionAnnotationsProcessor

Default implementation of ActionAnnotationsProcessor interface. If no annotation processor is specified by user, this implementation will be used to retrieve annotated actions. This processor checks every not abstract class in package named by given plugin configuration containing BristleConstants.ACTION_PACKAGE_SETTING_NAME setting.

Created on: 2010-09-03 16:05:22

Author:
Wojciech Niemiec

Constructor Summary
PackageActionAnnotationsProcessor()
           
 
Method Summary
 java.util.List<RemoteActionInformation> getAnnotatedActions(BristleConfiguration configuration)
          Gets list of annotated actions bound into RemoteActionInformation objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageActionAnnotationsProcessor

public PackageActionAnnotationsProcessor()
Method Detail

getAnnotatedActions

public java.util.List<RemoteActionInformation> getAnnotatedActions(BristleConfiguration configuration)
Description copied from interface: ActionAnnotationsProcessor
Gets list of annotated actions bound into RemoteActionInformation objects.

Specified by:
getAnnotatedActions in interface ActionAnnotationsProcessor
Parameters:
configuration - Bristleback plugin configuration.
Returns:
list of annotated actions information.


Copyright © 2011. All Rights Reserved.