org.codehaus.enunciate.contract.jaxws
Class EndpointImplementation

java.lang.Object
  extended by net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
      extended by net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
          extended by net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclaration
              extended by net.sf.jelly.apt.decorations.declaration.DecoratedClassDeclaration
                  extended by org.codehaus.enunciate.contract.jaxws.EndpointImplementation
All Implemented Interfaces:
com.sun.mirror.declaration.ClassDeclaration, com.sun.mirror.declaration.Declaration, com.sun.mirror.declaration.MemberDeclaration, com.sun.mirror.declaration.TypeDeclaration, HasFacets, ServiceEndpoint

public class EndpointImplementation
extends net.sf.jelly.apt.decorations.declaration.DecoratedClassDeclaration
implements ServiceEndpoint, HasFacets

A class specified as a web service endpoint implementation. Remember an endpoint implementation could possibly implicitly define an endpoint interface (see spec, section 3.3).

Author:
Ryan Heaton

Field Summary
 
Fields inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
delegate, javaDoc
 
Constructor Summary
EndpointImplementation(com.sun.mirror.declaration.ClassDeclaration delegate, EndpointInterface endpointInterface)
           
 
Method Summary
 BindingType getBindingType()
          Get the binding type for this endpoint implementation, or null if none is specified.
 java.lang.String getClientSimpleName()
          The simple name for client-side code generation.
 EndpointInterface getEndpointInterface()
          The endpoint interface specified for this web service.
 java.util.Set<Facet> getFacets()
          The facets here applicable.
 com.sun.mirror.declaration.TypeDeclaration getServiceEndpointDefaultImplementation()
          The default implementation of the service endpoint.
 java.lang.String getServiceEndpointId()
          A unique id for this service endpoint.
 com.sun.mirror.declaration.TypeDeclaration getServiceEndpointInterface()
          The interface that defines this service endpoint.
 
Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedClassDeclaration
accept, getAnnotation, getConstructors, getMethods, getSuperclass, isClass
 
Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclaration
getFields, getFormalTypeParameters, getNestedTypes, getPackage, getProperties, getQualifiedName, getSuperinterfaces, isAnnotatedType, isEnum, isInterface, isPaired
 
Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
getDeclaringType
 
Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
constructJavaDoc, equals, getAnnotationMirrors, getAnnotations, getDelegate, getDocComment, getDocValue, getJavaDoc, getModifiers, getPosition, getSimpleName, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.mirror.declaration.TypeDeclaration
getFields, getFormalTypeParameters, getNestedTypes, getPackage, getQualifiedName, getSuperinterfaces
 
Methods inherited from interface com.sun.mirror.declaration.MemberDeclaration
getDeclaringType
 
Methods inherited from interface com.sun.mirror.declaration.Declaration
equals, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
 

Constructor Detail

EndpointImplementation

public EndpointImplementation(com.sun.mirror.declaration.ClassDeclaration delegate,
                              EndpointInterface endpointInterface)
Method Detail

getClientSimpleName

public java.lang.String getClientSimpleName()
The simple name for client-side code generation.

Returns:
The simple name for client-side code generation.

getEndpointInterface

public EndpointInterface getEndpointInterface()
The endpoint interface specified for this web service.

Returns:
The endpoint interface specified for this web service

getBindingType

public BindingType getBindingType()
Get the binding type for this endpoint implementation, or null if none is specified.

Returns:
The binding type for this endpoint implementation.

getServiceEndpointId

public java.lang.String getServiceEndpointId()
Description copied from interface: ServiceEndpoint
A unique id for this service endpoint. Note that in the case where a specific class represents both a service-oriented endpoint and a resource-oriented endpoint, this id *should* be different depending on which endpoint it's representing.

Specified by:
getServiceEndpointId in interface ServiceEndpoint
Returns:
A unique id for this service endpoint.

getServiceEndpointInterface

public com.sun.mirror.declaration.TypeDeclaration getServiceEndpointInterface()
Description copied from interface: ServiceEndpoint
The interface that defines this service endpoint.

Specified by:
getServiceEndpointInterface in interface ServiceEndpoint
Returns:
The interface that defines this service endpoint.

getServiceEndpointDefaultImplementation

public com.sun.mirror.declaration.TypeDeclaration getServiceEndpointDefaultImplementation()
Description copied from interface: ServiceEndpoint
The default implementation of the service endpoint.

Specified by:
getServiceEndpointDefaultImplementation in interface ServiceEndpoint
Returns:
The default implementation of the service endpoint.

getFacets

public java.util.Set<Facet> getFacets()
The facets here applicable.

Specified by:
getFacets in interface HasFacets
Returns:
The facets here applicable.