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
Exception - different exceptionspublic TraceableEntity getItem(ItemPath itemPath) throws ObjectNotFoundException
itemPath - the ItemPath representing the ItemObjectNotFoundException - itemPath was not foundpublic ActiveEntity getAgent(AgentPath agentPath) throws InvalidAgentPathException, ObjectNotFoundException
agentPath - the AgentPath representing the AgentInvalidAgentPathException - agentPath was not AgentObjectNotFoundException - agentPath was not foundpublic TraceableEntity createItem(ItemPath itemPath) throws CannotManageException, ObjectAlreadyExistsException
public ActiveEntity createAgent(AgentPath agentPath) throws CannotManageException, ObjectAlreadyExistsException
Copyright © 1997–2017 CRISTAL-iSE. All rights reserved.