// **********************************************************************
//
// Copyright (c) 2002
// IONA Technologies, Inc.
// Waltham, MA, USA
//
// All Rights Reserved
//
// **********************************************************************

#ifndef PORTABLE_INTERCEPTOR_ORT_IDL
#define PORTABLE_INTERCEPTOR_ORT_IDL

#pragma prefix "omg.org"

#include <OB/PICommon.idl>

module PortableInterceptor
{

//
// New from orbos/00-12-01 ORT
//
abstract valuetype ObjectReferenceFactory
{
    Object make_object(in string repository_id, in ObjectId id);
};

abstract valuetype ObjectReferenceTemplate : ObjectReferenceFactory
{
    readonly attribute ServerId server_id;
    readonly attribute ORBId orb_id;
    readonly attribute AdapterName adapter_name;
};

typedef sequence<ObjectReferenceTemplate> ObjectReferenceTemplateSeq;

}; // End module PortableInterceptor

#endif
