jpos.loader
Interface JposServiceInstanceFactory


public interface JposServiceInstanceFactory

Defines the ServiceInstanceFactory. Service providers must provide a class that implements this interface and that has a default ctor. The jpos.config implementation will use reflection to create an instance of that class as the factory class and call its createInstance method to create the services

Since:
0.1 (Philly 99 meeting)
Author:
E. Michael Maximilien (maxim@us.ibm.com)

Method Summary
 JposServiceInstance createInstance(java.lang.String logicalName, JposEntry entry)
           
 

Method Detail

createInstance

public JposServiceInstance createInstance(java.lang.String logicalName,
                                          JposEntry entry)
                                   throws jpos.JposException
Parameters:
logicalName - the logicalName for the service
entry - the JposEntry instance containing info necessary for creating the service
Returns:
a JposServiceInstance using the logicalName and the entry provided
Throws:
jpos.JposException - if any error occurs
Since:
0.1 (Philly 99 meeting)


This API and code belongs to the JavaPOS committee please see LISCENCE file for details