| java.lang.Object org.xins.common.manageable.Manageable org.xins.server.ContextIDGenerator
ContextIDGenerator | final class ContextIDGenerator extends Manageable (Code) | | Generator for diagnostic context identifiers. Generated context
identifiers will be in the format:
app@host:time:rnd
where:
- app is the name of the deployed application, e.g.
"sso" ;
- host is the hostname of the computer running this
engine, e.g.
"freddy.bravo.com" ;
- time is the current date and time in the format
yyMMdd-HHmmssNNN , e.g. "050806-171522358" ;
- rnd is a 5 hex-digits randomly generated number, e.g.
"2f4e6" .
version: $Revision: 1.28 $ $Date: 2007/04/25 14:13:18 $ author: Ernst de Haan |
Method Summary | |
String | generate() Generates a diagnostic context identifier.
the generated diagnostic context identifier, never null . throws: IllegalStateException - if this object is currently not usable, i.e. | protected void | initImpl(PropertyReader properties) Performs the initialization procedure (actual implementation). |
Methods inherited from org.xins.common.manageable.Manageable | final protected void assertUsable() throws IllegalStateException(Code)(Java Doc) final public void bootstrap(PropertyReader properties) throws IllegalStateException, MissingRequiredPropertyException, InvalidPropertyValueException, BootstrapException(Code)(Java Doc) protected void bootstrapImpl(PropertyReader properties) throws MissingRequiredPropertyException, InvalidPropertyValueException, BootstrapException(Code)(Java Doc) final public void deinit() throws IllegalStateException, DeinitializationException(Code)(Java Doc) protected void deinitImpl() throws Throwable(Code)(Java Doc) final public State getState()(Code)(Java Doc) final public void init(PropertyReader properties) throws IllegalStateException, MissingRequiredPropertyException, InvalidPropertyValueException, InitializationException(Code)(Java Doc) protected void initImpl(PropertyReader properties) throws MissingRequiredPropertyException, InvalidPropertyValueException, InitializationException(Code)(Java Doc) final public boolean isBootstrapped()(Code)(Java Doc) final public boolean isUsable()(Code)(Java Doc)
|
|
|