本文整理了Java中org.mule.runtime.extension.api.annotation.dsl.xml.Xml.<init>()
方法的一些代码示例,展示了Xml.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Xml.<init>()
方法的具体详情如下:
包路径:org.mule.runtime.extension.api.annotation.dsl.xml.Xml
类名称:Xml
方法名:<init>
暂无
代码示例来源:origin: mulesoft/mule
@Xml(prefix = NAMESPACE)
private static class DefaultXmlExtension {
}
代码示例来源:origin: mulesoft/mule
@Xml(namespace = NAMESPACE_LOCATION)
private static class CustomSchemaLocationXmlExtension {
}
代码示例来源:origin: mulesoft/mule
@Xml(prefix = NAMESPACE, namespace = NAMESPACE_LOCATION)
private static class XmlSupport {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "multiImplicitConfig")
@Xml(namespace = "http://www.mulesoft.org/schema/mule/multiimplicitconfig", prefix = "multiimplicitconfig")
@Configurations(value = {BlaConfig.class, BleConfig.class, NonImplicitConfig.class, AnotherConfigThatCanBeUsedImplicitly.class})
public class MultipleImplicitConfigExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "MyOS")
@Operations(MyOSOperations.class)
@ConnectionProviders(MyOSConnectionProvider.class)
@Xml(prefix = "custom-os")
public class MyOSConnector {
public static Map<String, TypedValue<String>> VALUES = new HashMap<>();
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "implicitExclusive")
@Xml(namespace = "http://www.mulesoft.org/schema/mule/implicitexclusive", prefix = "implicitexclusive")
@Configurations(value = {BlaConfig.class, BleConfig.class, NonImplicitConfig.class})
@Export(classes = ConfigWithNumber.class)
public class ImplicitExclusiveConfigExtension {
}
代码示例来源:origin: mulesoft/mule
/**
* This extension exposes operations to validate resource access from a plugin and service, but also exposes a resource to validate
* exported ones can in fact be accessed.
*/
@Extension(name = "ResourceExtension")
@Xml(prefix = "rs")
@Operations(ResourceOps.class)
@Export(resources = {"stuff.json"})
public class ResourceExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "Test Functions")
@ExpressionFunctions(GlobalWeaveFunction.class)
@Operations(WeaveTestUtilsOperations.class)
@Xml(prefix = "fn")
public class WeaveFunctionExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "Values")
@Configurations({SimpleConfig.class, ConfigWithValueParameter.class,
ConfigWithValueAndRequiredParam.class, ConfigWithValuesWithRequiredParamsFromParamGroup.class,
ConfigWithValuesWithRequiredParamsFromShowInDslGroup.class, ConfigWithFailureErrorProvider.class})
@Sources({SimpleSource.class})
@Xml(namespace = "http://www.mulesoft.org/schema/mule/values", prefix = "values")
public class ValuesExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "Test OAuth Extension")
@ConnectionProviders({TestOAuthConnectionProvider.class, ScopelessOAuthConnectionProvider.class})
@Operations(TestOAuthOperations.class)
@Xml(prefix = "test-oauth")
public class TestOAuthExtension {
private List<AuthCodeRequest> capturedAuthCodeRequests = new LinkedList<>();
private List<AuthorizationCodeState> capturedAuthCodeStates = new LinkedList<>();
public List<AuthCodeRequest> getCapturedAuthCodeRequests() {
return capturedAuthCodeRequests;
}
public List<AuthorizationCodeState> getCapturedAuthCodeStates() {
return capturedAuthCodeStates;
}
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "substitutionGroup")
@Xml(namespace = "http://www.mulesoft.org/schema/mule/sg", prefix = "sg")
@Export(classes = {SomeExportedPojo.class})
public class SubstitutionGroupExtension {
@Parameter
private SomePojo somePojo;
@Parameter
private MuleSGPojo muleSGPojo;
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "ClassLoading")
@Xml(prefix = "classloading")
@ConnectionProviders({CLPoolingConnectionProvider.class, CLCachedConnectionProvider.class, CLNoneConnectionProvider.class})
@Configurations(CLConfiguration.class)
@Export(classes = ClassLoadingHelper.class)
public class ClassLoadingExtension {
}
代码示例来源:origin: mulesoft/mule
/**
* Test Extension Description
*/
@Extension(name = "multiple")
@Configurations({TestDocumentedConfig.class, TestAnotherDocumentedConfig.class})
@Xml(namespace = "namespaceLocation", prefix = "documentation")
public class TestExtensionWithDocumentationAndMultipleConfig {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "transactional")
@ConnectionProviders({PoolingTransactionalConnectionProvider.class, NonPoolingTransactionalConnectionProvider.class})
@Operations(TransactionalOperations.class)
@Sources({TransactionalSource.class, TransactionalSourceWithTXParameters.class})
@Xml(prefix = "tx")
@Export(classes = org.mule.test.transactional.TransactionalOperations.class)
public class TransactionalExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "RAM")
@Xml(prefix = "ram")
@SoapMessageDispatcherProviders({MiniverseDispatcherProvider.class,
DefaultPortalGunDispatcherProvider.class,
TestHttpMessageDispatcherProvider.class})
public class RickAndMortyExtension implements SoapServiceProvider {
public static final String RICKS_PHRASE = "WUBBA LUBBA DUB DUB";
@Parameter
private String wsdlUrl;
@Parameter
private String service;
@Parameter
private String port;
@Override
public List<WebServiceDefinition> getWebServiceDefinitions() {
return singletonList(builder().withId("ram").withWsdlUrl(wsdlUrl).withPort(port).withService(service).build());
}
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "secure")
@Operations(SecureOperations.class)
@ConnectionProviders(SecureConnectionProvider.class)
@Xml(namespace = "http://www.mulesoft.org/schema/mule/secure", prefix = "secure")
public class SecureConnector {
@Parameter
@Text
private String plainStringField;
@Parameter
@Password
private String password;
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "implicit")
@Operations({ImplicitOperations.class})
@Xml(namespace = "http://www.mulesoft.org/schema/mule/implicit", prefix = "implicit")
@ConnectionProviders(ImplicitConnectionProvider.class)
public class ImplicitConfigExtension implements Initialisable, Startable, MuleContextAware {
代码示例来源:origin: mulesoft/mule
subTypes = {AnimalsOutputAttributes.class, ShapeOutputAttributes.class})
@SubTypeMapping(baseType = Rectangle.class, subTypes = {Square.class})
@Xml(namespace = "http://www.mulesoft.org/schema/mule/metadata", prefix = "metadata")
@Export(classes = {TestMetadataResolverUtils.class, NativeQueryOutputResolver.class})
public class MetadataExtension {
代码示例来源:origin: mulesoft/mule
/**
* Test Extension Description with single config
*/
@Extension(name = "single")
@Operations({TestSingleConfigExtensionOperations.class})
@ConnectionProviders({TestSingleConfigExtensionProvider.class})
@Sources(TestDocumentedSource.class)
@Xml(namespace = "namespaceLocation", prefix = "documentation")
public class TestExtensionWithDocumentationAndSingleConfig {
/**
* Config parameter
*/
@Parameter
private String configParameter;
/**
* Config {@link Parameter} with an {@link Optional} value
*/
@Parameter
@Optional
private String configParameterWithComplexJavadoc;
}
代码示例来源:origin: mulesoft/mule
PetStoreStreamSource.class, PetStoreListSource.class, PartialPetAdoptionSource.class, NumberPetAdoptionSource.class,
ConnectedPetAdoptionSource.class})
@Xml(namespace = "http://www.mulesoft.org/schema/mule/petstore", prefix = "petstore")
public class PetStoreConnector {
内容来源于网络,如有侵权,请联系作者删除!