use of org.omg.PortableInterceptor.ORBInitInfoPackage.InvalidName in project wildfly by wildfly.
the class ElytronSASInitializer method pre_init.
@Override
public void pre_init(ORBInitInfo info) {
try {
// create and register the SASCurrent.
SASCurrent sasCurrent = new SASCurrentImpl();
info.register_initial_reference("SASCurrent", sasCurrent);
// the SASCurrent still needs to be initialized. Its initialization is deferred to post_init, as it needs
// to call resolve_initial_references.
} catch (InvalidName e) {
throw IIOPLogger.ROOT_LOGGER.errorRegisteringSASCurrentInitRef(e);
}
}
use of org.omg.PortableInterceptor.ORBInitInfoPackage.InvalidName in project wildfly by wildfly.
the class SASClientInitializer method pre_init.
@Override
public void pre_init(ORBInitInfo info) {
try {
// create and register the SASCurrent.
SASCurrent sasCurrent = new SASCurrentImpl();
info.register_initial_reference("SASCurrent", sasCurrent);
// the SASCurrent still needs to be initialized. Its initialization is deferred to post_init, as it needs
// to call resolve_initial_references.
} catch (InvalidName e) {
throw IIOPLogger.ROOT_LOGGER.errorRegisteringSASCurrentInitRef(e);
}
}
Aggregations