org.apache.tuscany.sca.interfacedef.java
Interface JavaInterface

All Superinterfaces:
Base, java.lang.Cloneable, IntentAttachPoint, Interface, PolicySetAttachPoint
All Known Implementing Classes:
JavaInterfaceImpl

public interface JavaInterface
extends Interface, Base

Represents a Java interface.


Method Summary
 java.lang.Class<?> getCallbackClass()
          Returns the callback class specified in an @Callback annotation.
 java.lang.Class<?> getJavaClass()
          Returns the Java interface class.
 java.lang.String getName()
          Returns the name of the Java interface class.
 javax.xml.namespace.QName getQName()
          Returns the QName of the JAX-WS interface.
 void setCallbackClass(java.lang.Class<?> callbackClass)
          Sets the callback class specified in an @Callback annotation.
 void setJavaClass(java.lang.Class<?> javaClass)
          Sets the Java interface class.
 void setName(java.lang.String className)
          Sets the name of the Java interface class.
 void setQName(javax.xml.namespace.QName interfaceName)
          Sets the QName of the JAX-WS interface.
 
Methods inherited from interface org.apache.tuscany.sca.interfacedef.Interface
clone, getOperations, isConversational, isDynamic, isRemotable, resetDataBinding, setConversational, setDefaultDataBinding, setRemotable
 
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint
getApplicablePolicySets, getPolicySets
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents, getType, setType
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 

Method Detail

getName

java.lang.String getName()
Returns the name of the Java interface class.

Returns:
the name of the Java interface class

setName

void setName(java.lang.String className)
Sets the name of the Java interface class.

Parameters:
className - the name of the Java interface class

getQName

javax.xml.namespace.QName getQName()
Returns the QName of the JAX-WS interface.

Returns:
the QName of the JAX-WS interface

setQName

void setQName(javax.xml.namespace.QName interfaceName)
Sets the QName of the JAX-WS interface.

Parameters:
interfaceName - the QName of the JAX-WS interface

getJavaClass

java.lang.Class<?> getJavaClass()
Returns the Java interface class.

Returns:
the Java interface class

setJavaClass

void setJavaClass(java.lang.Class<?> javaClass)
Sets the Java interface class.

Parameters:
javaClass - the Java interface class

getCallbackClass

java.lang.Class<?> getCallbackClass()
Returns the callback class specified in an @Callback annotation.

Returns:
the callback class specified in an @Callback annotation

setCallbackClass

void setCallbackClass(java.lang.Class<?> callbackClass)
Sets the callback class specified in an @Callback annotation.

Parameters:
callbackClass - the callback class specified in an @Callback annotation