| |
|
| java.lang.Object ti.chimera.ServiceFactoryImpl
ServiceFactoryImpl | abstract class ServiceFactoryImpl (Code) | | Ignore this... instead use Plugin$ServiceFactory... the implementation of
that class was simply broken out into this file to keep the file size of
Plugin.java under control.
author: Rob Clark version: 0.1 |
ServiceFactoryImpl | protected ServiceFactoryImpl(Plugin plugin)(Code) | | Class Constructor.
|
createService | abstract public Service createService()(Code) | | Create the service this object is a factory for. This should create a new
instance of the service everytime that it gets called, because nothing
other than the client of the service should hold a reference to the
service.
a newly instantiated Service object. |
getName | public String getName()(Code) | | Get the name of the service this is a factory for.
the service name |
getService | public synchronized Service getService()(Code) | | Get the service that this factory creates. This may return an existing
service instance, or may create a new one. It will ensure that the
plugin is active as long as someone holds a reference to the service
instance.
the Service object |
|
|
|