JBoss Wise API

org.jboss.wise.core.client.impl.reflection
Class WSServiceImpl

java.lang.Object
  extended by org.jboss.wise.core.client.impl.reflection.WSServiceImpl
All Implemented Interfaces:
WSService

@ThreadSafe
@Immutable
public class WSServiceImpl
extends java.lang.Object
implements WSService

Author:
stefano.maestri@javalinux.it

Nested Class Summary
 class WSServiceImpl.WSEndPointbuilder
           
 
Constructor Summary
WSServiceImpl(java.lang.Class serviceClass, java.net.URLClassLoader classLoader, java.lang.Object service, java.lang.String userName, java.lang.String password, int maxThreadPoolSize)
           
 
Method Summary
 java.net.URLClassLoader getClassLoader()
           
 java.util.Map<java.lang.String,WSEndpoint> getEndpoints()
           
 java.util.Map<java.lang.String,WSEndpoint> processEndpoints()
          Create the endpoints' map and gives it back.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSServiceImpl

public WSServiceImpl(java.lang.Class serviceClass,
                     java.net.URLClassLoader classLoader,
                     java.lang.Object service,
                     java.lang.String userName,
                     java.lang.String password,
                     int maxThreadPoolSize)
Parameters:
serviceClass -
classLoader -
service -
userName -
password -
maxThreadPoolSize - the max pool size for method execution of service attached endpoint.
Method Detail

getEndpoints

public java.util.Map<java.lang.String,WSEndpoint> getEndpoints()

processEndpoints

public java.util.Map<java.lang.String,WSEndpoint> processEndpoints()
Create the endpoints' map and gives it back.

Specified by:
processEndpoints in interface WSService
Returns:
The Map of WSEndpoint with symbolic names as keys

getClassLoader

public final java.net.URLClassLoader getClassLoader()
Specified by:
getClassLoader in interface WSService
Returns:
The classLoader used to load generated class.

JBoss Wise API

Copyright © 2008-2009 Jboss.org. All Rights Reserved.