net.sf.snamespaces.remoting
Class RemotingNamespaceHandler
java.lang.Object
org.springframework.beans.factory.xml.NamespaceHandlerSupport
net.sf.snamespaces.remoting.RemotingNamespaceHandler
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.NamespaceHandler
public class RemotingNamespaceHandler
- extends org.springframework.beans.factory.xml.NamespaceHandlerSupport
NamespaceHandler for the 'remoting' namespace.
Provides a BeanDefinitionParser for the <remoting:element> tag.
A element tag can include nested remote-service
and service-exporter tags.
The remote-service tag allows for creation of object proxies
that access a remote service via URLs using a simple syntax:
<remoting:remote-service type="RMI"
url="http://localhost:9000/myservice"
interface="com.company.MyServiceInterface"/>
The service-exporter tag allows for creation of objects
that export a remote service using the follow syntax:
<remoting:service-exporter type="Hessian"
service="myservicename"
interface="com.company.MyServiceInterface"/>.
- Since:
- 1.0
- Version:
- 1.00, 08/09/2007
- Author:
- Jonhnny Weslley
- See Also:
RemoteServiceBeanDefinitionParser,
ServiceExporterBeanDefinitionParser
|
Method Summary |
void |
init()
Register the BeanDefinitionParsers for the
'remote-service' and 'service-exporter' tags. |
| Methods inherited from class org.springframework.beans.factory.xml.NamespaceHandlerSupport |
decorate, parse, registerBeanDefinitionDecorator, registerBeanDefinitionDecoratorForAttribute, registerBeanDefinitionParser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemotingNamespaceHandler
public RemotingNamespaceHandler()
init
public void init()
- Register the
BeanDefinitionParsers for the
'remote-service' and 'service-exporter' tags.
Copyright © 2007. All Rights Reserved.