org.talika.tarsis.factory
Class FactoryService

java.lang.Object
  extended by org.talika.tarsis.service.AbstractService
      extended by org.talika.tarsis.factory.FactoryService
All Implemented Interfaces:
Factory, Service
Direct Known Subclasses:
DataSourceFactory, JndiContextFactory, LdapContextFactory, SmtpMailSession

public abstract class FactoryService
extends AbstractService
implements Factory

Base implementation of Factory interface.

Object factories plug in system like a service by extending AbstractService.

Version:
$Revision: 119 $
Author:
Jose M. Palomar

Constructor Summary
FactoryService()
          Creates a new FactoryService object.
 
Method Summary
abstract  java.lang.Object getInstance()
          Returns an object instance created by this factory.
 
Methods inherited from class org.talika.tarsis.service.AbstractService
destroy, getContext, getLogger, getName, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryService

public FactoryService()
Creates a new FactoryService object.

Method Detail

getInstance

public abstract java.lang.Object getInstance()
Returns an object instance created by this factory.

Specified by:
getInstance in interface Factory
Returns:
Object object instance created by this factory.
See Also:
Factory.getInstance()


Copyright © 2002-2012 Talika Open Source Group. All Rights Reserved.