public WsdlServiceContract load(XMLStreamReader reader, IntrospectionContext context) throws XMLStreamException { Location startLocation = reader.getLocation(); validateRemotable(reader, startLocation, context); WsdlServiceContract wsdlContract = processInterface(reader, startLocation, context); processCallbackInterface(reader, wsdlContract, context); helper.loadPolicySetsAndIntents(wsdlContract, reader, context); validateAttributes(reader, context, wsdlContract); LoaderUtil.skipToEndElement(reader); return wsdlContract; }
loaderHelper.loadPolicySetsAndIntents(bd, reader, introspectionContext);
loaderHelper.loadPolicySetsAndIntents(bd, reader, introspectionContext);
public OperationDefinition load(XMLStreamReader reader, IntrospectionContext context) throws XMLStreamException { validateAttributes(reader, context); OperationDefinition operationDefinition = new OperationDefinition(); String name = reader.getAttributeValue(null, "name"); if (name == null) { MissingAttribute failure = new MissingAttribute("Operation name not specified", reader); context.addError(failure); } operationDefinition.setName(name); loaderHelper.loadPolicySetsAndIntents(operationDefinition, reader, context); LoaderUtil.skipToEndElement(reader); return operationDefinition; }
loaderHelper.loadPolicySetsAndIntents(binding, reader, context);
loaderHelper.loadPolicySetsAndIntents(reference, reader, context);
loaderHelper.loadPolicySetsAndIntents(def, reader, context);
loaderHelper.loadPolicySetsAndIntents(implementation, reader, context);
loadKey(componentDefinition, reader); loaderHelper.loadPolicySetsAndIntents(componentDefinition, reader, context);
loaderHelper.loadPolicySetsAndIntents(def, reader, context); boolean callback = false; while (true) {
type.setAutowire(Autowire.fromString(reader.getAttributeValue(null, "autowire"))); type.setConstrainingType(constrainingType); loaderHelper.loadPolicySetsAndIntents(type, reader, childContext); try { while (true) {
loaderHelper.loadPolicySetsAndIntents(referenceDefinition, reader, context);
metadata.setWireFormat(wireFormat); loaderHelper.loadPolicySetsAndIntents(definition, reader, context);
public TimerImplementation load(XMLStreamReader reader, IntrospectionContext context) throws XMLStreamException { Location startLocation = reader.getLocation(); TimerImplementation implementation = new TimerImplementation(); validateAttributes(reader, context, implementation); if (!processImplementationClass(implementation, reader, context)) { // an error with the implementation class, return a dummy implementation InjectingComponentType type = new InjectingComponentType(null); implementation.setComponentType(type); return implementation; } TimerData data = new TimerData(); implementation.setTimerData(data); String poolName = reader.getAttributeValue(null, "poolName"); if (poolName != null) { data.setPoolName(poolName); } processInitialDelay(data, reader, startLocation, context); processTimeUnit(data, reader, startLocation, context); processIntervalClass(reader, context, implementation); processRepeatInterval(reader, startLocation, context, implementation); processRepeatFixedRate(reader, startLocation, context, implementation); processFireOnce(reader, startLocation, context, implementation); processIntervalMethod(context, implementation); validateData(startLocation, context, data); loaderHelper.loadPolicySetsAndIntents(implementation, reader, context); InjectingComponentType componentType = implementationProcessor.introspect(implementation.getImplementationClass(), context); implementation.setComponentType(componentType); LoaderUtil.skipToEndElement(reader); return implementation; }