Package org.activecomponents.webservice
Class ServiceInfo
- java.lang.Object
-
- org.activecomponents.webservice.ServiceInfo
-
public class ServiceInfo extends java.lang.Object
Service info. Provides also method names because otherwise JS side would have to inspect Java interfaces.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<java.lang.String>
methodnames
The method names.protected IServiceIdentifier
sid
The service identifier.
-
Constructor Summary
Constructors Constructor Description ServiceInfo()
Create the service proxy.ServiceInfo(IServiceIdentifier sid, java.util.Set<java.lang.String> methodnames)
Create the service proxy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>
getMethodNames()
Get the methodNames.IServiceIdentifier
getServiceIdentifier()
Get the serviceIdentifier.java.lang.String
getServiceIdentifierString()
Get the serviceIdentifier.void
setMethodNames(java.util.Set<java.lang.String> methodnames)
Set the methodNames.void
setServiceIdentifier(IServiceIdentifier sid)
Set the serviceIdentifier.void
setServiceIdentifierString(java.lang.String sid)
Set the serviceIdentifier.
-
-
-
Field Detail
-
sid
protected IServiceIdentifier sid
The service identifier.
-
methodnames
protected java.util.Set<java.lang.String> methodnames
The method names.
-
-
Constructor Detail
-
ServiceInfo
public ServiceInfo()
Create the service proxy.
-
ServiceInfo
public ServiceInfo(IServiceIdentifier sid, java.util.Set<java.lang.String> methodnames)
Create the service proxy.- Parameters:
sid
- The service identifier.methodnames
- The method names.
-
-
Method Detail
-
getMethodNames
public java.util.Set<java.lang.String> getMethodNames()
Get the methodNames.- Returns:
- The methodNames
-
setMethodNames
public void setMethodNames(java.util.Set<java.lang.String> methodnames)
Set the methodNames.- Parameters:
methodnames
- The methodNames to set
-
getServiceIdentifier
public IServiceIdentifier getServiceIdentifier()
Get the serviceIdentifier.- Returns:
- The serviceIdentifier
-
setServiceIdentifier
public void setServiceIdentifier(IServiceIdentifier sid)
Set the serviceIdentifier.- Parameters:
sid
- The serviceIdentifier to set
-
getServiceIdentifierString
public java.lang.String getServiceIdentifierString()
Get the serviceIdentifier.- Returns:
- The serviceIdentifier
-
setServiceIdentifierString
public void setServiceIdentifierString(java.lang.String sid)
Set the serviceIdentifier.- Parameters:
sid
- The serviceIdentifier to set
-
-