/** * Example5.java - Simple implementation of an (external RFC) server. This example is based on * static metadata with non-unicode layout, so the calls only from non-unicode systems can be * handled. * Property of SAP AG, Walldorf * (c) Copyright SAP AG, Walldorf, 2000-2003. * All rights reserved. */ import com.sap.mw.jco.*;
/** * @version 1.0 * @author SAP AG, Walldorf */
//****************************************************************************** public class Example5 implements JCO.ServerExceptionListener, JCO.ServerStateChangedListener {
//******************************************************************************
/** * Implementation of our own repository. * Just dummy extend the basic repository that comes with the JCO package */ static public class Repository extends JCO.BasicRepository implements IRepository {
/** * Creates a new empty repository */ public Repository(String name) {
super(name); } }
/** The repository we gonna be using */ protected static IRepository repository;