|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaImplementation
Represents a Java implementation.
Method Summary | |
---|---|
void |
addConversationIDMember(java.lang.reflect.Member conversationIDMember)
Sets the Java member used to inject a conversation ID. |
java.util.List<java.lang.reflect.Method> |
getAllowsPassByReferenceMethods()
|
java.util.Map<java.lang.String,java.util.Collection<JavaElementImpl>> |
getCallbackMembers()
|
JavaConstructorImpl<?> |
getConstructor()
Returns the constructor used to instantiate implementation instances. |
java.util.Map<java.lang.reflect.Constructor,JavaConstructorImpl> |
getConstructors()
|
java.util.List<java.lang.reflect.Member> |
getConversationIDMembers()
Returns the Java member used to inject a conversation ID. |
java.lang.reflect.Method |
getDestroyMethod()
Returns the component destructor method. |
java.lang.reflect.Method |
getInitMethod()
Returns the component initializer method. |
JavaScopeImpl |
getJavaScope()
|
long |
getMaxAge()
|
long |
getMaxIdleTime()
|
java.util.List<PolicyHandlerTuple> |
getPolicyHandlerClassNames()
|
java.util.Map<java.lang.String,JavaElementImpl> |
getPropertyMembers()
|
java.util.Map<java.lang.String,JavaElementImpl> |
getReferenceMembers()
|
java.util.Map<java.lang.String,JavaResourceImpl> |
getResources()
Returns the resources injected into this implementation. |
boolean |
isAllowsPassByReference()
Returns true if AllowsPassReference is set. |
boolean |
isAllowsPassByReference(java.lang.reflect.Method method)
|
boolean |
isEagerInit()
|
void |
setAllowsPassByReference(boolean allowsPassByReference)
|
void |
setConstructor(JavaConstructorImpl<?> definition)
Sets the constructor used to instantiate implementation instances |
void |
setDestroyMethod(java.lang.reflect.Method destroyMethod)
Sets the component destructor method. |
void |
setEagerInit(boolean eagerInit)
|
void |
setInitMethod(java.lang.reflect.Method initMethod)
Sets the component initializer method. |
void |
setJavaScope(JavaScopeImpl scope)
|
void |
setMaxAge(long maxAge)
|
void |
setMaxIdleTime(long maxIdleTime)
|
void |
setPolicyHandlerClassNames(java.util.List<PolicyHandlerTuple> policyHandlerClassNames)
|
Methods inherited from interface org.apache.tuscany.sca.implementation.java.BaseJavaImplementation |
---|
getJavaClass, getName, setJavaClass, setName |
Methods inherited from interface org.apache.tuscany.sca.assembly.ComponentType |
---|
getConstrainingType, getProperties, getReferences, getServices, getURI, setConstrainingType, setURI |
Methods inherited from interface org.apache.tuscany.sca.assembly.Base |
---|
isUnresolved, setUnresolved |
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible |
---|
getExtensions |
Method Detail |
---|
JavaConstructorImpl<?> getConstructor()
void setConstructor(JavaConstructorImpl<?> definition)
definition
- the constructor used to instantiate implementation instancesjava.lang.reflect.Method getInitMethod()
void setInitMethod(java.lang.reflect.Method initMethod)
initMethod
- the component initializer methodjava.lang.reflect.Method getDestroyMethod()
void setDestroyMethod(java.lang.reflect.Method destroyMethod)
destroyMethod
- the component destructor methodjava.util.Map<java.lang.String,JavaResourceImpl> getResources()
java.util.List<java.lang.reflect.Member> getConversationIDMembers()
void addConversationIDMember(java.lang.reflect.Member conversationIDMember)
conversationIDMember
- boolean isAllowsPassByReference()
void setAllowsPassByReference(boolean allowsPassByReference)
allowsPassByReference
- the allowsPassByReference to setjava.util.List<java.lang.reflect.Method> getAllowsPassByReferenceMethods()
boolean isAllowsPassByReference(java.lang.reflect.Method method)
method
-
java.util.Map<java.lang.reflect.Constructor,JavaConstructorImpl> getConstructors()
boolean isEagerInit()
void setEagerInit(boolean eagerInit)
eagerInit
- the eagerInit to setjava.util.Map<java.lang.String,java.util.Collection<JavaElementImpl>> getCallbackMembers()
java.util.Map<java.lang.String,JavaElementImpl> getPropertyMembers()
java.util.Map<java.lang.String,JavaElementImpl> getReferenceMembers()
JavaScopeImpl getJavaScope()
void setJavaScope(JavaScopeImpl scope)
scope
- the scope to setlong getMaxAge()
void setMaxAge(long maxAge)
maxAge
- the maxAge to setlong getMaxIdleTime()
void setMaxIdleTime(long maxIdleTime)
maxIdleTime
- the maxIdleTime to setjava.util.List<PolicyHandlerTuple> getPolicyHandlerClassNames()
void setPolicyHandlerClassNames(java.util.List<PolicyHandlerTuple> policyHandlerClassNames)
policyHandlerClassNames
- Map of policyhandler class names
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |