Uses of Interface
leafchat.core.api.FactoryObject

Packages that use FactoryObject
leafchat.core.api leafChat's core API, available to all plugins. 
 

Uses of FactoryObject in leafchat.core.api
 

Methods in leafchat.core.api with type parameters of type FactoryObject
<C extends FactoryObject>
C
PluginContext.newFactoryObject(java.lang.Class<C> objectInterface)
          Get a new instance of a factory-created object.
<C extends FactoryObject>
C
Factory.newInstance(java.lang.Class<C> objectInterface)
          Requests factory to create a new object implementing the given interface.
 

Method parameters in leafchat.core.api with type arguments of type FactoryObject
 java.lang.Object PluginContext.newInstance(java.lang.Class<? extends FactoryObject> objectInterface)
          Deprecated. Replaced by PluginContext.newFactoryObject(Class)
 void PluginContext.registerFactory(java.lang.Class<? extends FactoryObject> objectInterface, Factory f)
          Register an object as the factory creating objects of a given interface (which should be in the .api package)
 



Copyright © 2011 Samuel Marshall. All rights reserved.