ch.elca.el4j.services.remoting.protocol
Class AbstractInetSocketAddressProtocol
java.lang.Object
ch.elca.el4j.services.remoting.AbstractRemotingProtocol
ch.elca.el4j.services.remoting.protocol.AbstractInetSocketAddressProtocol
- All Implemented Interfaces:
- DisposableBean, InitializingBean, ApplicationContextAware
- Direct Known Subclasses:
- AbstractInetSocketAddressWebProtocol, Rmi
public abstract class AbstractInetSocketAddressProtocol
- extends AbstractRemotingProtocol
This is an abstract InetSocketAddress
protocol.
HTTP is used as default service protocol.
- Author:
- Martin Zeltner (MZE)
- File-location:
- AbstractInetSocketAddressProtocol
- Last check-in date:
- 2010-11-02 11:44:37 +0100 (Di, 02. Nov 2010) by swisswheel for revision 4204
Methods inherited from class ch.elca.el4j.services.remoting.AbstractRemotingProtocol |
checkRemotingExporter, checkRemotingProxy, createExporterBean, createProxyBean, destroy, finalizeExporterDependentBeans, getChlidApplicationContexts, getClientContextInvocationHandler, getExporterObjectType, getImplicitContextPassingRegistry, getProtocolSpecificConfiguration, getProtocolSpecificContextPassing, getProxyInterface, getProxyObjectType, isDoNotForcePreInstantiationOfExporterObject, prepareExporterDependentBeans, registerChildApplicationContext, setApplicationContext, setDoNotForcePreInstantiationOfExporterObject, setImplicitContextPassingRegistry, setProtocolSpecificConfiguration, setProtocolSpecificContextPassing, unregisterChildApplicationContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractInetSocketAddressProtocol
public AbstractInetSocketAddressProtocol()
getServiceHost
public String getServiceHost()
- Returns:
- Returns the serviceHost.
setServiceHost
public void setServiceHost(String serviceHost)
- Parameters:
serviceHost
- The serviceHost to set.
getServicePort
public int getServicePort()
- Returns:
- Returns the servicePort.
setServicePort
public void setServicePort(int servicePort)
- Parameters:
servicePort
- The servicePort to set.
getServiceProtocol
public String getServiceProtocol()
- Returns:
- Returns the m_serviceProtocol.
setServiceProtocol
public void setServiceProtocol(String serviceProtocol)
- Parameters:
serviceProtocol
- Is the serviceProtocol to set.
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
-
- Throws:
Exception
generateUrl
public abstract String generateUrl(AbstractRemotingBase remotingBase)
- Method to generate the url to be able to access the service.
- Parameters:
remotingBase
- Is the reference to get information about the service.
- Returns:
- Returns the generated service url.
Copyright © 2005-2011 ELCA. All Rights Reserved.