Interface POAImple
- All Known Implementing Classes:
javaidl_1_4
,POABase
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
Modifier and TypeMethodDescriptionvoid
Create a child POA of the root POA.void
destroyPOA
(String adapterName) Destroy the child POA.void
Destroy the root POA.void
Initialise the root POA.boolean
Has the Object Adapter been initialised?org.omg.PortableServer.POA
void
Provide a reference to the child POA.org.omg.PortableServer.POA
rootPoa()
void
rootPoa
(org.omg.PortableServer.POA thePOA) Provide a reference to the root POA.void
run is a way of starting a server listening for invocations.void
run is a way of starting a server listening for invocations.
-
Method Details
-
initialised
boolean initialised()Has the Object Adapter been initialised? -
run
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:
org.omg.CORBA.SystemException
-
run
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:
org.omg.CORBA.SystemException
-
init
void init(ORB o) throws org.omg.CORBA.ORBPackage.InvalidName, org.omg.PortableServer.POAManagerPackage.AdapterInactive, org.omg.CORBA.SystemException Initialise the root POA.- Throws:
org.omg.CORBA.ORBPackage.InvalidName
org.omg.PortableServer.POAManagerPackage.AdapterInactive
org.omg.CORBA.SystemException
-
createPOA
void createPOA(String adapterName, org.omg.CORBA.Policy[] policies) throws org.omg.PortableServer.POAPackage.AdapterAlreadyExists, org.omg.PortableServer.POAPackage.InvalidPolicy, org.omg.PortableServer.POAManagerPackage.AdapterInactive, org.omg.CORBA.SystemException Create a child POA of the root POA.- Throws:
org.omg.PortableServer.POAPackage.AdapterAlreadyExists
org.omg.PortableServer.POAPackage.InvalidPolicy
org.omg.PortableServer.POAManagerPackage.AdapterInactive
org.omg.CORBA.SystemException
-
destroyRootPOA
void destroyRootPOA() throws org.omg.CORBA.SystemExceptionDestroy the root POA.- Throws:
org.omg.CORBA.SystemException
-
destroyPOA
Destroy the child POA.- Throws:
org.omg.CORBA.SystemException
-
rootPoa
org.omg.PortableServer.POA rootPoa() throws org.omg.CORBA.SystemException- Returns:
- a reference to the root POA.
- Throws:
org.omg.CORBA.SystemException
-
rootPoa
void rootPoa(org.omg.PortableServer.POA thePOA) throws org.omg.CORBA.SystemException Provide a reference to the root POA. Used if the application must initialise the POA separately.- Throws:
org.omg.CORBA.SystemException
-
poa
- Returns:
- a reference to the child POA.
- Throws:
org.omg.CORBA.SystemException
-
poa
void poa(String adapterName, org.omg.PortableServer.POA thePOA) throws org.omg.CORBA.SystemException Provide a reference to the child POA. Used if the application must initialise the POA separately.- Throws:
org.omg.CORBA.SystemException
-