project35.soa
Class GeneralServiceClassFactory
java.lang.Object
project35.soa.GeneralServiceClassFactory
- Direct Known Subclasses:
- IDGeneratorServiceFactory, PluginFactory
public class GeneralServiceClassFactory
- extends java.lang.Object
General service class factory; used in ontology sources, viewers and
id generation services. It associates an identifier with a service.
The identifier is made from the service name and a concatenation
of parameters passed to it.
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneralServiceClassFactory
public GeneralServiceClassFactory(Project35ApplicationContext project35ApplicationContext)
isAssignableFrom
public boolean isAssignableFrom(java.lang.String className,
java.lang.Class otherClass)
throws java.lang.Exception
- Throws:
java.lang.Exception
getIdentifierForService
public java.lang.String getIdentifierForService(java.lang.Object serviceObject)
getClass
public java.lang.Class getClass(java.lang.String className)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDefaultService
public java.lang.Object getDefaultService()
setDefaultService
public void setDefaultService(java.lang.Object defaultService)
createService
public java.lang.Object createService(java.lang.String className,
boolean isPersistent)
throws java.lang.Exception
- Throws:
java.lang.Exception
createService
public java.lang.Object createService(java.lang.Class cls,
boolean isPersistent)
throws java.lang.Exception
- Throws:
java.lang.Exception
createService
public java.lang.Object createService(java.lang.String className,
Parameter[] parameters,
boolean isPersistent)
throws java.lang.Exception
- Throws:
java.lang.Exception
createService
public java.lang.Object createService(java.lang.Class cls,
Parameter[] parameters,
boolean isPersistent)
throws java.lang.Exception
- Throws:
java.lang.Exception