return (SynapseEnvironment) synCfgParam.getValue();
}
protected ServerConfigurationInformation getServerConfigurationInformation()
throws DeploymentException {
Parameter serverCfgParam =
cfgCtx.getAxisConfiguration().getParameter(
SynapseConstants.SYNAPSE_SERVER_CONFIG_INFO);
if (serverCfgParam == null) {
throw new DeploymentException("SynapseConfigurationInformation not found. " +
"Are you sure that you are running Synapse?");
}
return (ServerConfigurationInformation) serverCfgParam.getValue();
}