org.isam.exehda.services.cib
Class CibImpl

java.lang.Object
  |
  +--org.isam.exehda.services.AbstractService
        |
        +--org.isam.exehda.services.cib.CibImpl
All Implemented Interfaces:
CellInformationBase, Service

public class CibImpl
extends AbstractService
implements CellInformationBase


Nested Class Summary
 
Nested classes inherited from class org.isam.exehda.services.CellInformationBase
CellInformationBase.AttributeDefinedConstraint, CellInformationBase.CompositeSelectionConstraint, CellInformationBase.NameComponent, CellInformationBase.NameSpace, CellInformationBase.Resource, CellInformationBase.ResourceName, CellInformationBase.SelectionConstraint, CellInformationBase.SimpleRegexpConstraint
 
Field Summary
(package private) static java.lang.String PROP_CIB_BACKEND
           
(package private) static java.lang.String PROP_CIB_CELLNAME
           
(package private) static java.lang.String PROP_CIB_NEIGHBORHOOD
           
(package private) static java.lang.String PROP_CIB_PASSWORD
           
 
Fields inherited from interface org.isam.exehda.services.CellInformationBase
SERVICE_NAME
 
Constructor Summary
CibImpl()
           
 
Method Summary
 void addResource(CellInformationBase.ResourceName r)
          Describe addResource method here.
 java.lang.String getAttribute(CellInformationBase.ResourceName r, java.lang.String a)
          Describe getAttribute method here.
 java.lang.String[] getAttributes(CellInformationBase.ResourceName r)
          Describe getAttributes method here.
 void removeResource(CellInformationBase.ResourceName r)
          Describe removeResource method here.
 CellInformationBase.ResourceName[] select(CellInformationBase.SelectionConstraint sc, CellInformationBase.NameSpace[] ns, int maxResults)
          Describe select method here.
 CellInformationBase.ResourceName[] select(CellInformationBase.SelectionConstraint sc, CellInformationBase.NameSpace ns, int maxResults)
           
 CellInformationBase.ResourceName[] select(CellInformationBase.SelectionConstraint sc, int maxResults)
          Describe select method here.
 CellInformationBase.ResourceName[] selectByName(java.lang.String n, CellInformationBase.NameSpace ns, int maxResults)
          Describe selectByName method here.
 CellInformationBase.ResourceName[] selectByType(java.lang.String t, CellInformationBase.NameSpace ns, int maxResults)
          Describe selectByType method here.
 java.lang.String setAttribute(CellInformationBase.ResourceName r, java.lang.String a, java.lang.String v)
          Describe setAttribute method here.
 void start()
           
 void stop()
           
 
Methods inherited from class org.isam.exehda.services.AbstractService
log, log, log, log, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_CIB_BACKEND

static final java.lang.String PROP_CIB_BACKEND
See Also:
Constant Field Values

PROP_CIB_PASSWORD

static final java.lang.String PROP_CIB_PASSWORD
See Also:
Constant Field Values

PROP_CIB_CELLNAME

static final java.lang.String PROP_CIB_CELLNAME
See Also:
Constant Field Values

PROP_CIB_NEIGHBORHOOD

static final java.lang.String PROP_CIB_NEIGHBORHOOD
See Also:
Constant Field Values
Constructor Detail

CibImpl

public CibImpl()
Method Detail

start

public void start()
Specified by:
start in interface Service

stop

public void stop()
Specified by:
stop in interface Service

select

public CellInformationBase.ResourceName[] select(CellInformationBase.SelectionConstraint sc,
                                                 int maxResults)
Description copied from interface: CellInformationBase
Describe select method here.

Specified by:
select in interface CellInformationBase
Parameters:
sc - a SelectionConstraint value
maxResults - an int value
Returns:
a ResourceName[] value

select

public CellInformationBase.ResourceName[] select(CellInformationBase.SelectionConstraint sc,
                                                 CellInformationBase.NameSpace[] ns,
                                                 int maxResults)
Description copied from interface: CellInformationBase
Describe select method here.

Specified by:
select in interface CellInformationBase
Parameters:
maxResults - an int value
Returns:
a ResourceName[] value

select

public CellInformationBase.ResourceName[] select(CellInformationBase.SelectionConstraint sc,
                                                 CellInformationBase.NameSpace ns,
                                                 int maxResults)
Specified by:
select in interface CellInformationBase

selectByName

public CellInformationBase.ResourceName[] selectByName(java.lang.String n,
                                                       CellInformationBase.NameSpace ns,
                                                       int maxResults)
Description copied from interface: CellInformationBase
Describe selectByName method here.

Specified by:
selectByName in interface CellInformationBase
Parameters:
n - a String value
ns - a NameSpace value
maxResults - an int value
Returns:
a ResourceName[] value

selectByType

public CellInformationBase.ResourceName[] selectByType(java.lang.String t,
                                                       CellInformationBase.NameSpace ns,
                                                       int maxResults)
Description copied from interface: CellInformationBase
Describe selectByType method here.

Specified by:
selectByType in interface CellInformationBase
Parameters:
t - a String value
ns - a NameSpace value
maxResults - an int value
Returns:
a ResourceName[] value

getAttribute

public java.lang.String getAttribute(CellInformationBase.ResourceName r,
                                     java.lang.String a)
Description copied from interface: CellInformationBase
Describe getAttribute method here.

Specified by:
getAttribute in interface CellInformationBase
Parameters:
r - a ResourceName value
a - a String value
Returns:
a String value

setAttribute

public java.lang.String setAttribute(CellInformationBase.ResourceName r,
                                     java.lang.String a,
                                     java.lang.String v)
Description copied from interface: CellInformationBase
Describe setAttribute method here.

Specified by:
setAttribute in interface CellInformationBase
Parameters:
r - a ResourceName value
a - a String value
v - a String value
Returns:
a String value

getAttributes

public java.lang.String[] getAttributes(CellInformationBase.ResourceName r)
Description copied from interface: CellInformationBase
Describe getAttributes method here.

Specified by:
getAttributes in interface CellInformationBase
Parameters:
r - a ResourceName value
Returns:
a String[] value

addResource

public void addResource(CellInformationBase.ResourceName r)
Description copied from interface: CellInformationBase
Describe addResource method here.

Specified by:
addResource in interface CellInformationBase
Parameters:
r - a ResourceName value

removeResource

public void removeResource(CellInformationBase.ResourceName r)
Description copied from interface: CellInformationBase
Describe removeResource method here.

Specified by:
removeResource in interface CellInformationBase
Parameters:
r - a ResourceName value