public abstract class org.apache.camel.impl.DefaultEndpointConfiguration extends java.lang.Object implements org.apache.camel.EndpointConfiguration
{
private final org.apache.camel.CamelContext camelContext;
private java.net.URI uri;
public void <init>(org.apache.camel.CamelContext)
{
org.apache.camel.CamelContext v;
org.apache.camel.impl.DefaultEndpointConfiguration v;
v := @this: org.apache.camel.impl.DefaultEndpointConfiguration;
v := @parameter: org.apache.camel.CamelContext;
specialinvoke v.<java.lang.Object: void <init>()>();
staticinvoke <org.apache.camel.util.ObjectHelper: java.lang.Object notNull(java.lang.Object,java.lang.String)>(v, "CamelContext");
v.<org.apache.camel.impl.DefaultEndpointConfiguration: org.apache.camel.CamelContext camelContext> = v;
return;
}
public void <init>(org.apache.camel.CamelContext, java.lang.String)
{
org.apache.camel.RuntimeCamelException v;
org.apache.camel.CamelContext v;
java.net.URISyntaxException v;
org.apache.camel.impl.DefaultEndpointConfiguration v;
java.lang.String v;
java.net.URI v;
v := @this: org.apache.camel.impl.DefaultEndpointConfiguration;
v := @parameter: org.apache.camel.CamelContext;
v := @parameter: java.lang.String;
specialinvoke v.<org.apache.camel.impl.DefaultEndpointConfiguration: void <init>(org.apache.camel.CamelContext)>(v);
label:
v = new java.net.URI;
specialinvoke v.<java.net.URI: void <init>(java.lang.String)>(v);
virtualinvoke v.<org.apache.camel.impl.DefaultEndpointConfiguration: void setURI(java.net.URI)>(v);
label:
goto label;
label:
v := @caughtexception;
v = new org.apache.camel.RuntimeCamelException;
specialinvoke v.<org.apache.camel.RuntimeCamelException: void <init>(java.lang.Throwable)>(v);
throw v;
label:
return;
catch java.net.URISyntaxException from label to label with label;
}
public java.net.URI getURI()
{
org.apache.camel.impl.DefaultEndpointConfiguration v;
java.net.URI v;
v := @this: org.apache.camel.impl.DefaultEndpointConfiguration;
v = v.<org.apache.camel.impl.DefaultEndpointConfiguration: java.net.URI uri>;
return v;
}
public void setURI(java.net.URI)
{
org.apache.camel.impl.DefaultEndpointConfiguration v;
java.net.URI v;
v := @this: org.apache.camel.impl.DefaultEndpointConfiguration;
v := @parameter: java.net.URI;
v.<org.apache.camel.impl.DefaultEndpointConfiguration: java.net.URI uri> = v;
virtualinvoke v.<org.apache.camel.impl.DefaultEndpointConfiguration: void parseURI()>();
return;
}
public void setURI(java.lang.String)
{
org.apache.camel.RuntimeCamelException v;
java.net.URISyntaxException v;
org.apache.camel.impl.DefaultEndpointConfiguration v;
java.lang.String v, v, v;
java.net.URI v;
v := @this: org.apache.camel.impl.DefaultEndpointConfiguration;
v := @parameter: java.lang.String;
label:
v = staticinvoke <org.apache.camel.util.UnsafeUriCharactersEncoder: java.lang.String encode(java.lang.String)>(v);
v = new java.net.URI;
specialinvoke v.<java.net.URI: void <init>(java.lang.String)>(v);
virtualinvoke v.<org.apache.camel.impl.DefaultEndpointConfiguration: void setURI(java.net.URI)>(v);
label:
goto label;
label:
v := @caughtexception;
v = new org.apache.camel.RuntimeCamelException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Cannot parse uri: \u0001");
specialinvoke v.<org.apache.camel.RuntimeCamelException: void <init>(java.lang.String,java.lang.Throwable)>(v, v);
throw v;
label:
return;
catch java.net.URISyntaxException from label to label with label;
}
public java.lang.Object getParameter(java.lang.String)
{
java.lang.Object v;
org.apache.camel.impl.DefaultEndpointConfiguration v;
java.lang.String v;
v := @this: org.apache.camel.impl.DefaultEndpointConfiguration;
v := @parameter: java.lang.String;
v = staticinvoke <org.apache.camel.impl.ConfigurationHelper: java.lang.Object getConfigurationParameter(org.apache.camel.EndpointConfiguration,java.lang.String)>(v, v);
return v;
}
public void setParameter(java.lang.String, java.lang.Object)
{
org.apache.camel.CamelContext v;
java.lang.Object v;
org.apache.camel.impl.DefaultEndpointConfiguration v;
java.lang.String v;
v := @this: org.apache.camel.impl.DefaultEndpointConfiguration;
v := @parameter: java.lang.String;
v := @parameter: java.lang.Object;
v = v.<org.apache.camel.impl.DefaultEndpointConfiguration: org.apache.camel.CamelContext camelContext>;
staticinvoke <org.apache.camel.impl.ConfigurationHelper: void setConfigurationField(org.apache.camel.CamelContext,org.apache.camel.EndpointConfiguration,java.lang.String,java.lang.Object)>(v, v, v, v);
return;
}
protected org.apache.camel.CamelContext getCamelContext()
{
org.apache.camel.CamelContext v;
org.apache.camel.impl.DefaultEndpointConfiguration v;
v := @this: org.apache.camel.impl.DefaultEndpointConfiguration;
v = v.<org.apache.camel.impl.DefaultEndpointConfiguration: org.apache.camel.CamelContext camelContext>;
return v;
}
protected void parseURI()
{
org.apache.camel.CamelContext v;
org.apache.camel.impl.DefaultEndpointConfiguration v;
org.apache.camel.impl.ConfigurationHelper$FieldParameterSetter v;
v := @this: org.apache.camel.impl.DefaultEndpointConfiguration;
v = v.<org.apache.camel.impl.DefaultEndpointConfiguration: org.apache.camel.CamelContext camelContext>;
v = new org.apache.camel.impl.ConfigurationHelper$FieldParameterSetter;
specialinvoke v.<org.apache.camel.impl.ConfigurationHelper$FieldParameterSetter: void <init>()>();
staticinvoke <org.apache.camel.impl.ConfigurationHelper: void populateFromURI(org.apache.camel.CamelContext,org.apache.camel.EndpointConfiguration,org.apache.camel.impl.ConfigurationHelper$ParameterSetter)>(v, v, v);
return;
}
}