⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spring-flex-1.0.xsd

📁 java 和flex的整合,主要是spring和flex的整合,不可多得啊
💻 XSD
📖 第 1 页 / 共 2 页
字号:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><xsd:schema	xmlns="http://www.springframework.org/schema/flex"	xmlns:xsd="http://www.w3.org/2001/XMLSchema"	xmlns:beans="http://www.springframework.org/schema/beans"	targetNamespace="http://www.springframework.org/schema/flex"	elementFormDefault="qualified" attributeFormDefault="unqualified"	version="1.0">		<xsd:annotation>		<xsd:documentation>			<![CDATA[Spring BlazeDS Integration Configuration SchemaAuthors: Jeremy Grelle, Mark Fisher<br>A XML-based DSL for configuring Spring BlazeDS Integration.]]>		</xsd:documentation>	</xsd:annotation>		<xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans-2.5.xsd" />		<xsd:element name="message-broker">		<xsd:annotation>			<xsd:documentation>				<![CDATA[Configures and bootstraps the BlazeDS MessageBroker as a Spring-managed bean.  The MessageBroker is the centralhub of communication between the Flex front-end and Java back-end services.  The MessageBroker will be configuredwith a set of sensible default settings, and the necessary supporting infrastructure for routing messages throughthe Spring DispatcherServlet will be automatically installed.  Note that setting a custom id for the MessageBroker is not required unless you are configuring multiple MessageBrokers in one ApplicationContext (this would be considered rare).]]>			</xsd:documentation>		</xsd:annotation>		<xsd:complexType>			<xsd:complexContent>				<xsd:extension base="beans:identifiedType">					<xsd:sequence minOccurs="0" maxOccurs="1">						<xsd:choice minOccurs="0" maxOccurs="unbounded">							<xsd:element name="mapping" type="mappingType">								<xsd:annotation>									<xsd:documentation>										<![CDATA[Provides a custom handler mapping path for routing requests to the Spring-managed MessageBroker.  By default, a single '/*' mapping is installed.  Specifying one or more mapping elements will override this default mapping.  ]]>									</xsd:documentation>								</xsd:annotation>							</xsd:element>							<xsd:element name="config-processor" type="configProcessorType">								<xsd:annotation>									<xsd:documentation>										<![CDATA[Installs a custom instance of org.springframework.flex.config.MessageBrokerConfigProcessor for programmatically modifying the configuration of the MessageBroker.]]>									</xsd:documentation>								</xsd:annotation>							</xsd:element>							<xsd:element name="exception-translator" type="exceptionTranslatorType">								<xsd:annotation>									<xsd:documentation>										<![CDATA[Installs a bean instance of org.springframework.flex.messaging.ExceptionTranslator for applying custom translation from known exception types to a BlazeDS MessageException.]]>									</xsd:documentation>								</xsd:annotation>							</xsd:element>							<xsd:element name="message-interceptor" type="messageInterceptorType">								<xsd:annotation>									<xsd:documentation>										<![CDATA[Installs a bean instance of org.springframework.flex.messaging.MessageInterceptor for applying custom processing to incoming and outgoing BlazeDS Messages.]]>									</xsd:documentation>								</xsd:annotation>							</xsd:element>						</xsd:choice>						<xsd:element name="remoting-service" minOccurs="0" maxOccurs="1" type="remotingServiceType">							<xsd:annotation>								<xsd:documentation>									<![CDATA[Supports custom configuration of the default RemotingService.  Note that this will only take effect if no RemotingService configuration has been specified in the BlazeDS XML configuration files.]]>								</xsd:documentation>							</xsd:annotation>						</xsd:element>						<xsd:element name="message-service" minOccurs="0" maxOccurs="1" type="messageServiceType">							<xsd:annotation>								<xsd:documentation>									<![CDATA[Supports custom configuration of the default MessageService.  Note that this will only take effect if no MessageService configuration has been specified in the BlazeDS XML configuration files.]]>								</xsd:documentation>							</xsd:annotation>						</xsd:element>						<xsd:element name="secured" minOccurs="0" maxOccurs="1" type="securedType">							<xsd:annotation>								<xsd:documentation>									<![CDATA[Installs and configures Spring Security integration.  Spring Security must be properly configured in the currentApplicationContext in order for this integration to function correctly.  ]]>								</xsd:documentation>							</xsd:annotation>						</xsd:element>					</xsd:sequence>					<xsd:attribute name="services-config-path" type="xsd:string" default="/WEB-INF/flex/services-config.xml">						<xsd:annotation>							<xsd:documentation>								<![CDATA[Sets a custom location for the BlazeDS XML configuration file (usually named services-config.xml) used in loading and configuring the MessageBroker.  The file will be loaded using a Spring ResourceLoader, so typical Spring conventionssuch as "classpath:" style paths may be used.  The default location is "/WEB-INF/flex/services-config.xml".  Notethat this attribute cannot be used in conjunction with the 'configuration-manager' attribute.       								]]>							</xsd:documentation>						</xsd:annotation>					</xsd:attribute>					<xsd:attribute name="configuration-manager" type="xsd:string">						<xsd:annotation>							<xsd:documentation>								<![CDATA[Sets a reference to a custom flex.messaging.config.ConfigurationManager bean.  The default provided implementation isorg.springframework.flex.config.FlexConfigurationManager, which uses Spring's ResourceLoader for resolvingBlazeDS configuration files.  The most common reason for providing a custom bean instance of this class would beto specify an implemention of flex.messaging.config.ConfigurationParser other than the default Apache XPath based implementation.  								]]>							</xsd:documentation>						</xsd:annotation>					</xsd:attribute>					<xsd:attribute name="mapping-order" type="xsd:int">						<xsd:annotation>							<xsd:documentation>								<![CDATA[Sets the order of the SimpleUrlHandlerMapping that maps requests to this MessageBroker.    								]]>							</xsd:documentation>						</xsd:annotation>					</xsd:attribute>					<xsd:attribute name="disable-default-mapping" type="xsd:boolean" default="false">						<xsd:annotation>							<xsd:documentation>								<![CDATA[Prevents the default handler mapping class from being installed.  Set this to true only if you are providing yourown HandlerMapping bean instance for routing requests to the Spring-managed MessageBroker.  The more common approachwill be to use child <mapping> elements to provide custom paths to the default SimpleUrlHandlerMapping.   								]]>							</xsd:documentation>						</xsd:annotation>					</xsd:attribute>				</xsd:extension>			</xsd:complexContent>		</xsd:complexType>	</xsd:element>		<xsd:element name="remoting-destination">		<xsd:annotation>			<xsd:documentation>				<![CDATA[Exports a Spring bean as a destination for Flex AMF-based remoting.  May be used as either a top-level tag with a reference to the bean to be exported, or as child tag of the bean to be exported. ]]>			</xsd:documentation>		</xsd:annotation>		<xsd:complexType>			<xsd:attribute name="ref" type="xsd:string">				<xsd:annotation>					<xsd:documentation>						<![CDATA[A reference to the bean to be exported for remoting.  Required when used as a top-level tag.								]]>					</xsd:documentation>				</xsd:annotation>			</xsd:attribute>			<xsd:attribute name="message-broker" type="xsd:string">				<xsd:annotation>					<xsd:documentation>						<![CDATA[The id of the Spring-managed MessageBroker that will route messages to the exported bean.  Not required unless anexplicit id has been specified for the MessageBroker.							]]>					</xsd:documentation>				</xsd:annotation>			</xsd:attribute>			<xsd:attribute name="destination-id" type="xsd:string">				<xsd:annotation>					<xsd:documentation>						<![CDATA[The id of the remoting destination.  This corresponds to the "destination" property that will be set on the RemoteObject in the Flex client.  By default, this will be set to the name of the bean being exported.  								]]>					</xsd:documentation>				</xsd:annotation>			</xsd:attribute>			<xsd:attribute name="channels" type="xsd:string">				<xsd:annotation>					<xsd:documentation>						<![CDATA[A comma-separated list of ids for the BlazeDS channels over which this remoting destination should be exposed.  Onlyneeded when overriding the default channels for the RemotingService.								]]>					</xsd:documentation>				</xsd:annotation>			</xsd:attribute>			<xsd:attribute name="include-methods" type="xsd:string">				<xsd:annotation>					<xsd:documentation>						<![CDATA[A comma-separated list of names of the methods that will be included for remote invocation.  Optional.  								]]>					</xsd:documentation>				</xsd:annotation>			</xsd:attribute>			<xsd:attribute name="exclude-methods" type="xsd:string">				<xsd:annotation>					<xsd:documentation>						<![CDATA[A comma-separated list of names of the methods that will be excluded from remote invocation.  Optional.								]]>					</xsd:documentation>				</xsd:annotation>			</xsd:attribute>			<xsd:attribute name="service-adapter" type="xsd:string">				<xsd:annotation>					<xsd:documentation>						<![CDATA[A reference to a custom Spring-managed ServiceAdapter (usually created via a ManageableComponentFactoryBean) to be used when invoking methods on this destination.  Optional.								]]>					</xsd:documentation>				</xsd:annotation>			</xsd:attribute>		</xsd:complexType>	</xsd:element>		<xsd:element name="message-destination">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -