public class CorbaServer extends Object
| Constructor and Description |
|---|
CorbaServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ActiveEntity |
createAgent(AgentPath agentPath) |
TraceableEntity |
createItem(ItemPath itemPath) |
ActiveEntity |
getAgent(AgentPath agentPath)
Returns a CORBA servant for a pre-existing entity
|
TraceableEntity |
getItem(ItemPath itemPath)
Returns a CORBA servant for a pre-existing entity
|
void |
setupPOA()
Initialises the C2KRootPOA with policies which are suitable for Factory objects
|
public CorbaServer()
throws CannotManageException
CannotManageExceptionpublic void close()
public void setupPOA()
throws Exception
Exceptionpublic TraceableEntity getItem(ItemPath itemPath) throws ObjectNotFoundException
ObjectNotFoundExceptionpublic ActiveEntity getAgent(AgentPath agentPath) throws InvalidAgentPathException, ObjectNotFoundException
public TraceableEntity createItem(ItemPath itemPath) throws CannotManageException, ObjectAlreadyExistsException
itemPath - CannotManageExceptionObjectAlreadyExistsExceptionpublic ActiveEntity createAgent(AgentPath agentPath) throws CannotManageException, ObjectAlreadyExistsException
Copyright © 1997–2016 CRISTAL-iSE. All rights reserved.