本文整理了Java中org.mule.runtime.extension.api.annotation.Extension.<init>()
方法的一些代码示例,展示了Extension.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Extension.<init>()
方法的具体详情如下:
包路径:org.mule.runtime.extension.api.annotation.Extension
类名称:Extension
方法名:<init>
暂无
代码示例来源:origin: mulesoft/mule
@Extension(name = MARVEL_EXTENSION)
@Configurations({IronMan.class, DrStrange.class})
@ErrorTypes(DrStrangeErrorTypeDefinition.class)
@Export(classes = {IronMan.class, DrStrangeTypeWithCustomStereotype.class})
public class MarvelExtension {
public static final String MARVEL_EXTENSION = "Marvel";
}
代码示例来源: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
@Extension(name = OTHER_HEISENBERG)
@Operations({HeisenbergExtension.class, GenericlessMessageOperation.class})
public static class HeisenbergWithGenericlessMessageOperation {
}
代码示例来源:origin: mulesoft/mule
@ErrorTypes(CyclicErrorTypes.class)
@Extension(name = "Heisenberg")
public static class HeisenbergWithCyclicErrorTypes extends HeisenbergExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "once-annotated")
@Configurations({AnnotatedNamelessConfig.class})
public static class OneConfigAnnotatedExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "twice-non-annotated")
@Configurations({NonAnnotatedNamelessConfig.class, AnotherNonAnnotatedNamelessConfig.class})
public static class TwoConfigNonAnnotatedExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = OTHER_HEISENBERG)
public static class HeisenbergWithRecursiveParameterGroup extends HeisenbergExtension {
@ParameterGroup(name = "recursive")
private RecursiveParameterGroup group;
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "InvalidExtensionWithoOneOptionalParameters")
public static class InvalidExtensionWithoOneOptionalParameters {
@ParameterGroup(name = "exclusion")
private ExclusionWithoutOneOptionalParameters group;
}
代码示例来源:origin: mulesoft/mule
@Extension(name = OTHER_HEISENBERG)
@Configurations(HeisenbergExtension.class)
@ConnectionProviders({HeisenbergConnectionProvider.class, SecureHeisenbergConnectionProvider.class})
public static class HeisenbergPointer extends HeisenbergExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = OTHER_HEISENBERG)
@Operations(HeisenbergAlternateConfig.class)
@Configurations(HeisenbergAlternateConfig.class)
public static class HeisenbergWithSameOperationsAndConfigs extends HeisenbergExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "validatorTest")
@Configurations({TestConfig.class, TestConfig2.class})
@ConnectionProviders({TestConnectionProvider.class, TestConnectionProvider2.class})
public static class ValidTestConnector {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "validatorTest")
@Configurations({TestConfig.class, TestConfig2.class})
@ConnectionProviders({TestConnectionProvider.class, TestConnectionProvider2.class, InvalidTypeConnectionProvider.class})
public static class InvalidConnectionTypeProviderTestConnector {
}
代码示例来源: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 = "OrderedExtension")
@Operations({OrderedOperations.class})
@Configurations({ParameterGroupImplicitOrder.class, ParameterGroupExplicitOrder.class, ParameterGroupReorder.class,
ParameterGroupNoGeneral.class, ParameterGroupOnlyGeneral.class})
public static class OrderedExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "Heisenberg")
@ErrorTypes(LevelErrorTypes.class)
@Throws(ExtensionLevelErrorTypeProvider.class)
@Operations(OperationWithThrows.class)
public static class HeisenbergWithOperationThrows extends HeisenbergExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = "Heisenberg")
@ErrorTypes(LevelErrorTypes.class)
@Throws(ExtensionLevelErrorTypeProvider.class)
@Operations(OperationWithOutThrows.class)
public static class HeisenbergWithExtensionThrows extends HeisenbergExtension {
}
代码示例来源:origin: mulesoft/mule
@Deprecated(message = "This extension is deprecated", since = "1.2.0")
@Extension(name = "Deprecated")
@ExpressionFunctions(DeprecatedExtensionFunctions.class)
@Configurations({DeprecatedConfiguration.class, NonDeprecatedConfiguration.class})
public static class DeprecatedExtension {
}
代码示例来源: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 = HeisenbergExtension.HEISENBERG, category = SELECT)
@Operations({HeisenbergOperations.class, MoneyLaunderingOperation.class,
KillingOperations.class, HeisenbergScopes.class, HeisenbergRouters.class})
@OnException(HeisenbergConnectionExceptionEnricher.class)
@ConnectionProviders({HeisenbergConnectionProvider.class, SecureHeisenbergConnectionProvider.class})
@Sources(BadBackPressureSource.class)
@Export(classes = {HeisenbergExtension.class, HeisenbergException.class}, resources = "methRecipe.json")
@SubTypeMapping(baseType = Weapon.class, subTypes = {Ricin.class})
@SubTypeMapping(baseType = Investment.class, subTypes = {CarWash.class, CarDealer.class})
@ErrorTypes(HeisenbergErrors.class)
public static class BadBackPressureHeisenbergExtension extends HeisenbergExtension {
}
代码示例来源:origin: mulesoft/mule
@Extension(name = HeisenbergExtension.HEISENBERG, category = SELECT)
@Operations({HeisenbergOperations.class, MoneyLaunderingOperation.class,
KillingOperations.class, HeisenbergScopes.class, HeisenbergRouters.class})
@OnException(HeisenbergConnectionExceptionEnricher.class)
@ConnectionProviders({HeisenbergConnectionProvider.class, SecureHeisenbergConnectionProvider.class})
@Sources(IllegalBackPressureSource.class)
@Export(classes = {HeisenbergExtension.class, HeisenbergException.class}, resources = "methRecipe.json")
@SubTypeMapping(baseType = Weapon.class, subTypes = {Ricin.class})
@SubTypeMapping(baseType = Investment.class, subTypes = {CarWash.class, CarDealer.class})
@ErrorTypes(HeisenbergErrors.class)
public static class IllegalBackPressureHeisenbergExtension extends HeisenbergExtension {
}
内容来源于网络,如有侵权,请联系作者删除!