Package org.jacorb.orb.dii

Source Code of org.jacorb.orb.dii.ContextListImpl

package org.jacorb.orb.dii;

import org.omg.CORBA.Bounds;
import org.omg.CORBA.ContextList;
import org.omg.CORBA.NO_IMPLEMENT;

/*
*        JacORB - a free Java ORB
*
*   Copyright (C) The JacORB project, 1997-2006.
*
*   This library is free software; you can redistribute it and/or
*   modify it under the terms of the GNU Library General Public
*   License as published by the Free Software Foundation; either
*   version 2 of the License, or (at your option) any later version.
*
*   This library is distributed in the hope that it will be useful,
*   but WITHOUT ANY WARRANTY; without even the implied warranty of
*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
*   Library General Public License for more details.
*
*   You should have received a copy of the GNU Library General Public
*   License along with this library; if not, write to the Free
*   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

/**
* @author Alphonse Bendt
* @version $Id: ContextListImpl.java,v 1.1 2006-07-10 14:13:13 alphonse.bendt Exp $
*/
public class ContextListImpl extends ContextList
{
    public int count()
    {
        return 0;
    }

    public void add(String ctx)
    {
        throw new NO_IMPLEMENT();
    }

    public String item(int index) throws Bounds
    {
        throw new NO_IMPLEMENT();
    }

    public void remove(int index) throws Bounds
    {
        throw new NO_IMPLEMENT();
    }
}
TOP

Related Classes of org.jacorb.orb.dii.ContextListImpl

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.