com.arjuna.orbportability.oa.core
Interface POAImple


public interface POAImple

The Portable Object Adapter interface.

Since:
JTS 2.1.
Version:
$Id: POAImple.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark@arjuna.com)

Method Summary
 void createPOA(String adapterName, Policy[] policies)
          Create a child POA of the root POA.
 void destroyPOA(String adapterName)
          Destroy the child POA.
 void destroyRootPOA()
          Destroy the root POA.
 void init(ORB o)
          Initialise the root POA.
 boolean initialised()
          Has the Object Adapter been initialised?
 POA poa(String adapterName)
           
 void poa(String adapterName, POA thePOA)
          Provide a reference to the child POA.
 POA rootPoa()
           
 void rootPoa(POA thePOA)
          Provide a reference to the root POA.
 void run(ORB o)
          run is a way of starting a server listening for invocations.
 void run(ORB o, String name)
          run is a way of starting a server listening for invocations.
 

Method Detail

initialised

boolean initialised()
Has the Object Adapter been initialised?


run

void run(ORB o,
         String name)
         throws SystemException
run is a way of starting a server listening for invocations. For historical reasons we do this via the Object Adapter interface, though POA ORBs may implement this via the ORB.

Throws:
SystemException

run

void run(ORB o)
         throws SystemException
run is a way of starting a server listening for invocations. For historical reasons we do this via the Object Adapter interface, though POA ORBs may implement this via the ORB.

Throws:
SystemException

init

void init(ORB o)
          throws InvalidName,
                 AdapterInactive,
                 SystemException
Initialise the root POA.

Throws:
InvalidName
AdapterInactive
SystemException

createPOA

void createPOA(String adapterName,
               Policy[] policies)
               throws AdapterAlreadyExists,
                      InvalidPolicy,
                      AdapterInactive,
                      SystemException
Create a child POA of the root POA.

Throws:
AdapterAlreadyExists
InvalidPolicy
AdapterInactive
SystemException

destroyRootPOA

void destroyRootPOA()
                    throws SystemException
Destroy the root POA.

Throws:
SystemException

destroyPOA

void destroyPOA(String adapterName)
                throws SystemException
Destroy the child POA.

Throws:
SystemException

rootPoa

POA rootPoa()
            throws SystemException
Returns:
a reference to the root POA.
Throws:
SystemException

rootPoa

void rootPoa(POA thePOA)
             throws SystemException
Provide a reference to the root POA. Used if the application must initialise the POA separately.

Throws:
SystemException

poa

POA poa(String adapterName)
        throws SystemException
Returns:
a reference to the child POA.
Throws:
SystemException

poa

void poa(String adapterName,
         POA thePOA)
         throws SystemException
Provide a reference to the child POA. Used if the application must initialise the POA separately.

Throws:
SystemException


Copyright © 2011. All Rights Reserved.