public class UddiPublisher extends Object implements FederationInterface
Modifier and Type | Field and Description |
---|---|
static String |
FederationTarget_UDDI_Publisher |
protected static Logger |
log |
static String |
OPTION_BINDING_KEY |
static String |
OPTION_PUBLISH_AVG_RES_TIME |
static String |
OPTION_PUBLISH_FAULTS |
static String |
OPTION_PUBLISH_MAX |
static String |
OPTION_PUBLISH_PASSWORD |
static String |
OPTION_PUBLISH_SLA |
static String |
OPTION_PUBLISH_STATUS |
static String |
OPTION_PUBLISH_SUCCESS |
static String |
OPTION_PUBLISH_TIME_RANGE |
static String |
OPTION_PUBLISH_UPTIME |
static String |
OPTION_PUBLISH_USERNAME |
protected String |
password |
boolean |
State |
protected String |
username |
Constructor and Description |
---|
UddiPublisher() |
UddiPublisher(boolean pooled) |
Modifier and Type | Method and Description |
---|---|
static void |
addMontior(BindingProvider bpPCS)
adds an fgsms agent to the request/response handler chains
|
List<PolicyType> |
GetAppliesTo()
Returns a list of service policy types that this plugin can be applied to
use Utility.getAllPolicyTypes() if it applies to everything.
|
String |
GetDisplayName()
end user facing display name
|
String |
GetHtmlFormattedHelp()
returns html formatted help to guide users towards proper usage.
|
List<NameValuePair> |
GetOptionalParameters()
returns a list of optional parameters
|
List<NameValuePair> |
GetRequiredParameters()
returns a list of required parameters
|
long |
getUddiPublishInterval() |
protected void |
inquiry(String servicekey) |
void |
Publish(boolean pooled,
QuickStatWrapper data,
ServicePolicy sp,
FederationPolicy fp)
Publish fgsms data to the UDDI server uses a direct database connection
to the performance database uses a connect to the fgsms PCS
|
protected boolean |
publishTestBusiness() |
protected boolean |
publishTestPublisher() |
protected boolean |
publishTestService() |
boolean |
ValidateConfiguration(FederationPolicy fp,
AtomicReference<String> outMessage)
This is called by both the user interface as well as whenever someone
attempts to add or change a service policy containing this federation
target.
|
protected static final Logger log
public static final String OPTION_PUBLISH_TIME_RANGE
public static final String OPTION_PUBLISH_STATUS
public static final String OPTION_PUBLISH_SLA
public static final String OPTION_PUBLISH_MAX
public static final String OPTION_PUBLISH_UPTIME
public static final String OPTION_PUBLISH_FAULTS
public static final String OPTION_PUBLISH_SUCCESS
public static final String OPTION_PUBLISH_AVG_RES_TIME
public static final String OPTION_BINDING_KEY
public static final String OPTION_PUBLISH_USERNAME
public static final String OPTION_PUBLISH_PASSWORD
public boolean State
protected String username
protected String password
public static final String FederationTarget_UDDI_Publisher
public UddiPublisher()
public UddiPublisher(boolean pooled)
public boolean ValidateConfiguration(FederationPolicy fp, AtomicReference<String> outMessage)
FederationInterface
ValidateConfiguration
in interface FederationInterface
fp
- the proposed federation policyoutMessage
- returns the error message, if any. Null or empty string
can be returned if there is no error. The message should be a human
readable reason for why the policy is invalid or misconfigured.public void Publish(boolean pooled, QuickStatWrapper data, ServicePolicy sp, FederationPolicy fp)
Publish
in interface FederationInterface
pooled
- indicates where or not we are using pooled database
connectionsdata
- represents the last known data set for a web service,
availability info for all policy typessp
- the complete service policy of the thing we are publishingfp
- the federation policy, which should allow users to dictate
implementation specific parameters and settingsorg.miloss.fgsms.common.Utility.GetConfigurationDBConnection
public String GetDisplayName()
PluginCommon
GetDisplayName
in interface PluginCommon
public String GetHtmlFormattedHelp()
PluginCommon
GetHtmlFormattedHelp
in interface PluginCommon
public List<NameValuePair> GetRequiredParameters()
PluginCommon
GetRequiredParameters
in interface PluginCommon
public List<NameValuePair> GetOptionalParameters()
PluginCommon
GetOptionalParameters
in interface PluginCommon
public List<PolicyType> GetAppliesTo()
PluginCommon
GetAppliesTo
in interface PluginCommon
public static void addMontior(BindingProvider bpPCS)
bpPCS
- public long getUddiPublishInterval()
protected boolean publishTestPublisher()
protected boolean publishTestBusiness()
protected boolean publishTestService()
protected void inquiry(String servicekey)
Copyright © 2008–2017 MIL-OSS. All rights reserved.