public interface DeclarationHandle
Declaration
service.
It can be used to start and/or stop the underlying declaration as well as retrieving its
status (bound or not).Modifier and Type | Method and Description |
---|---|
Status |
getStatus()
Return the current (instant) status of the declaration.
|
void |
publish()
Publish the
Declaration . |
void |
retract()
Retract the
Declaration service. |
void publish()
Declaration
. If the declaration
is already registered, it's a no-op operation.void retract()
Declaration
service. If the
declaration is not registered, it's a no-op operation.Status getStatus()
Status
is immutable (status does not change over time).
If you want an updated status, call again the getStatus()
method.Declaration
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.