|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclaration
org.codehaus.enunciate.contract.jaxws.EndpointInterface
public class EndpointInterface
A type or interface specified as a web service endpoint interface. This decorator can only be applied to either interfaces or classes that implicitly define an endpoint interface (see spec, section 3.3).
| Field Summary |
|---|
| Fields inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration |
|---|
delegate, javaDoc |
| Constructor Summary | |
|---|---|
EndpointInterface(com.sun.mirror.declaration.TypeDeclaration delegate,
com.sun.mirror.declaration.TypeDeclaration... implementationCandidates)
Construct an endoint interface. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
calculateNamespaceURI()
Calculates a namespace URI for a given package. |
protected com.sun.mirror.apt.AnnotationProcessorEnvironment |
getAnnotationProcessorEnvironment()
The current annotation processing environment. |
java.lang.String |
getClientSimpleName()
The simple name for client-side code generation. |
java.util.Collection<EndpointImplementation> |
getEndpointImplementations()
Finds the endpoint implemenations of this interface. |
java.util.Map<java.lang.String,java.lang.Object> |
getMetaData()
The metadata associated with this endpoint interface. |
java.lang.String |
getPortTypeName()
The name of this web service. |
java.util.Set<java.lang.String> |
getReferencedNamespaces()
The set of namespace URIs that this web service references. |
java.lang.String |
getServiceName()
The service name of this web service. |
java.lang.String |
getSoapBindingName()
The name of the soap binding. |
javax.jws.soap.SOAPBinding.Style |
getSoapBindingStyle()
The SOAP binding style specified on this endpoint interface. |
javax.jws.soap.SOAPBinding.ParameterStyle |
getSoapParameterStyle()
The SOAP parameter style of this web method. |
javax.jws.soap.SOAPBinding.Use |
getSoapUse()
The SOAP binding use of this web method. |
java.lang.String |
getTargetNamespace()
Gets the target namespace of this web service. |
java.util.Collection<WebMethod> |
getWebMethods()
Get the web methods for this web service. |
boolean |
isAnnotatedType()
|
boolean |
isClass()
|
protected boolean |
isEndpointImplementation(com.sun.mirror.declaration.TypeDeclaration declaration)
A quick check to see if a declaration is an endpoint implementation. |
boolean |
isEnum()
|
boolean |
isInterface()
|
boolean |
isWebMethod(com.sun.mirror.declaration.MethodDeclaration method)
A quick check to see if a method is a web method. |
void |
putMetaData(java.lang.String name,
java.lang.Object data)
Set the metadata associated with this endpoint interface. |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclaration |
|---|
accept, getFields, getFormalTypeParameters, getMethods, getNestedTypes, getPackage, getProperties, getQualifiedName, getSuperinterfaces, 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, getAnnotation, 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.MemberDeclaration |
|---|
getDeclaringType |
| Methods inherited from interface com.sun.mirror.declaration.Declaration |
|---|
equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName |
| Constructor Detail |
|---|
public EndpointInterface(com.sun.mirror.declaration.TypeDeclaration delegate,
com.sun.mirror.declaration.TypeDeclaration... implementationCandidates)
delegate - The delegate.implementationCandidates - The type declarations to be considered as implementation candidates (the ones that can't be seen by APT.)| Method Detail |
|---|
public java.lang.String getPortTypeName()
public java.lang.String getServiceName()
public java.lang.String getTargetNamespace()
public java.lang.String getClientSimpleName()
protected java.lang.String calculateNamespaceURI()
public java.util.Set<java.lang.String> getReferencedNamespaces()
public java.util.Collection<WebMethod> getWebMethods()
public boolean isWebMethod(com.sun.mirror.declaration.MethodDeclaration method)
public java.util.Collection<EndpointImplementation> getEndpointImplementations()
protected boolean isEndpointImplementation(com.sun.mirror.declaration.TypeDeclaration declaration)
public javax.jws.soap.SOAPBinding.Style getSoapBindingStyle()
public java.lang.String getSoapBindingName()
SoapBindingNamepublic javax.jws.soap.SOAPBinding.Use getSoapUse()
public javax.jws.soap.SOAPBinding.ParameterStyle getSoapParameterStyle()
public boolean isClass()
isClass in class net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclarationpublic boolean isInterface()
isInterface in class net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclarationpublic boolean isEnum()
isEnum in class net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclarationpublic boolean isAnnotatedType()
isAnnotatedType in class net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclarationpublic java.util.Map<java.lang.String,java.lang.Object> getMetaData()
public void putMetaData(java.lang.String name,
java.lang.Object data)
name - The name of the metadata.data - The data.protected com.sun.mirror.apt.AnnotationProcessorEnvironment getAnnotationProcessorEnvironment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||