Modifier and Type | Field and Description |
---|---|
(package private) static org.slf4j.Logger |
logger |
private org.neon_toolkit.registry.api.Oyster2Connection |
oyster2Conn |
Constructor and Description |
---|
OysterDirectory() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Shutdown the connection and/or registration to the directory
|
void |
getAlignmentReferences(Ontology<java.lang.Object> o1,
Ontology<java.lang.Object> o2) |
void |
open(java.util.Properties p)
Create a connection and/or registration to a directory
Parameters can contain, e.g.:
- the directory address
- the declaration of the current service
|
void |
register(Alignment al)
Register an alignment to the directory (if necessary)
|
void |
unregister(Alignment al)
unregister an alignment from the directory (if necessary)
This is not implemented
|
static final org.slf4j.Logger logger
private org.neon_toolkit.registry.api.Oyster2Connection oyster2Conn
public void open(java.util.Properties p) throws AServException
open
in interface Directory
AServException
- when something goes wrongpublic void register(Alignment al) throws AServException
register
in interface Directory
AServException
- when something goes wrongpublic void getAlignmentReferences(Ontology<java.lang.Object> o1, Ontology<java.lang.Object> o2)
public void unregister(Alignment al)
unregister
in interface Directory
public void close() throws AServException
close
in interface Directory
AServException
- when something goes wrong(C) INRIA & friends, 2003-2020