project35.soa.plugins
Class PluginFactory

java.lang.Object
  extended by project35.soa.GeneralServiceClassFactory
      extended by project35.soa.plugins.PluginFactory

public class PluginFactory
extends GeneralServiceClassFactory

creates instances of plugins. Currently this class is empty but it exists for future extensibility in case the Plugin Factory has more attributes than a normal GeneralServiceClassFactory


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Field Summary
static int DOCUMENT_LEVEL_PLUGIN
           
static int FIELD_LEVEL_PLUGIN
           
static int RECORD_LEVEL_PLUGIN
           
 
Constructor Summary
PluginFactory(Project35ApplicationContext project35ApplicationContext)
           
 
Method Summary
 Project35Plugin createService(int pluginType, PluginConfiguration pluginConfiguration)
           
 java.lang.String getPluginDescription(java.lang.Object pluginObject)
           
 java.lang.String getPluginName(java.lang.Object pluginObject)
           
 Project35Plugin getPluginObject(java.lang.String pluginName)
           
 
Methods inherited from class project35.soa.GeneralServiceClassFactory
createService, createService, createService, createService, getClass, getDefaultService, getIdentifierForService, isAssignableFrom, setDefaultService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOCUMENT_LEVEL_PLUGIN

public static final int DOCUMENT_LEVEL_PLUGIN
See Also:
Constant Field Values

RECORD_LEVEL_PLUGIN

public static final int RECORD_LEVEL_PLUGIN
See Also:
Constant Field Values

FIELD_LEVEL_PLUGIN

public static final int FIELD_LEVEL_PLUGIN
See Also:
Constant Field Values
Constructor Detail

PluginFactory

public PluginFactory(Project35ApplicationContext project35ApplicationContext)
Method Detail

getPluginObject

public Project35Plugin getPluginObject(java.lang.String pluginName)

getPluginName

public java.lang.String getPluginName(java.lang.Object pluginObject)

getPluginDescription

public java.lang.String getPluginDescription(java.lang.Object pluginObject)

createService

public Project35Plugin createService(int pluginType,
                                     PluginConfiguration pluginConfiguration)
                              throws java.lang.Exception
Throws:
java.lang.Exception