Known Direct Subclasses
ConfigSpiFile |
This class wraps the ConfigFile subclass implementation of Configuration
inside a ConfigurationSpi implementation that is available from the
SUN provider via the Configuration.getInstance calls. |
|
Class Overview
This class defines the Service Provider Interface (SPI)
for the Configuration
class.
All the abstract methods in this class must be implemented by each
service provider who wishes to supply a Configuration implementation.
Subclass implementations of this abstract class must provide
a public constructor that takes a Configuration.Parameters
object as an input parameter. This constructor also must throw
an IllegalArgumentException if it does not understand the
Configuration.Parameters
input.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
Public Constructors
public
ConfigurationSpi
()
Protected Methods
Retrieve the AppConfigurationEntries for the specified name.
Parameters
name
| the name used to index the Configuration. |
Returns
- an array of AppConfigurationEntries for the specified
name, or null if there are no entries.
protected
void
engineRefresh
()
Refresh and reload the Configuration.
This method causes this Configuration object to refresh/reload its
contents in an implementation-dependent manner.
For example, if this Configuration object stores its entries in a file,
calling refresh
may cause the file to be re-read.
The default implementation of this method does nothing.
This method should be overridden if a refresh operation is supported
by the implementation.
Throws
SecurityException
| if the caller does not have permission
to refresh its Configuration.
|