Data Request Broker
2-3-release

fr.gael.drb.impl
Class DrbProvider

java.lang.Object
  extended by fr.gael.drb.impl.DrbProvider
Direct Known Subclasses:
FileProvider, ZipProvider

public abstract class DrbProvider
extends Object

DrbNode provider.


Constructor Summary
DrbProvider()
           
 
Method Summary
abstract  void commit()
          Commit any pending change.
abstract  String getIdentifier()
          The identifier of this provider.
abstract  String getName()
          The name of this provider.
 Object getProperty(String name)
          Get a property given its name.
 boolean hasFeature(String name)
          Says whether this provider has a specific feature given its name.
 void setProperty(String name, Object value)
          Set a property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrbProvider

public DrbProvider()
Method Detail

getName

public abstract String getName()
The name of this provider.

Returns:
The name of this provider.

getIdentifier

public abstract String getIdentifier()
The identifier of this provider.

Returns:
The identifier of this provider.

hasFeature

public boolean hasFeature(String name)
Says whether this provider has a specific feature given its name.

Parameters:
name - the name of the feature
Returns:
true if the provider has the named feature and false otherwise

setProperty

public void setProperty(String name,
                        Object value)
                 throws IllegalArgumentException
Set a property.

Parameters:
name - the name of the property
value - the value of the property
Throws:
IllegalArgumentException - if this provider does not support this property

getProperty

public Object getProperty(String name)
Get a property given its name.

Parameters:
name - the name of the property
Returns:
the property corresponding to the specified name.

commit

public abstract void commit()
Commit any pending change.


Data Request Broker - DRB API®
2-3-release

Copyright© 2001-2009 GAEL Consultant. All rights reserved. Use is subject to license terms .