is it possible to define a bean with the use of static final fields of CoreProtocolPNames class like this:
One more example to add for the instance above. This is how you can use a static constant in a bean using Spring.
package org.example;
public class Bar {
public static String myValue = "SOME_CONSTANT";
}
package someorg.example;
public class Foo {
String someOrgValue;
foo(String value){
this.someOrgValue = value;
}
}