|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.assembly.impl.BaseImpl
org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
org.apache.tuscany.sca.assembly.impl.ComponentTypeImpl
org.apache.tuscany.sca.assembly.impl.ImplementationImpl
org.apache.tuscany.sca.implementation.java.impl.JavaImplementationImpl
public class JavaImplementationImpl
A component type specialization for POJO implementations
| Constructor Summary | |
|---|---|
protected |
JavaImplementationImpl()
|
| Method Summary | |
|---|---|
void |
addConversationIDMember(java.lang.reflect.Member conversationIDMember)
Sets the Java member used to inject a conversation ID. |
boolean |
equals(java.lang.Object obj)
|
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. |
java.lang.Class<?> |
getJavaClass()
Returns the Java implementation class. |
JavaScopeImpl |
getJavaScope()
|
long |
getMaxAge()
|
long |
getMaxIdleTime()
|
java.lang.String |
getName()
Returns the name of the Java implementation class. |
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. |
int |
hashCode()
|
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 |
setJavaClass(java.lang.Class<?> javaClass)
Sets the Java implementation class. |
void |
setJavaScope(JavaScopeImpl scope)
|
void |
setMaxAge(long maxAge)
|
void |
setMaxIdleTime(long maxIdleTime)
|
void |
setName(java.lang.String className)
Sets the name of the Java implementation class. |
void |
setPolicyHandlerClassNames(java.util.List<PolicyHandlerTuple> policyHandlerClassNames)
|
java.lang.String |
toString()
|
| Methods inherited from class org.apache.tuscany.sca.assembly.impl.ImplementationImpl |
|---|
getApplicablePolicySets, getConfiguredOperations, getPolicySets, getRequiredIntents, getType, setType |
| Methods inherited from class org.apache.tuscany.sca.assembly.impl.ComponentTypeImpl |
|---|
clone, getConstrainingType, getProperties, getReferences, getServices, getURI, setConstrainingType, setURI |
| Methods inherited from class org.apache.tuscany.sca.assembly.impl.ExtensibleImpl |
|---|
getExtensions |
| Methods inherited from class org.apache.tuscany.sca.assembly.impl.BaseImpl |
|---|
isUnresolved, setUnresolved |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
protected JavaImplementationImpl()
| Method Detail |
|---|
public JavaConstructorImpl<?> getConstructor()
JavaImplementation
getConstructor in interface JavaImplementationpublic void setConstructor(JavaConstructorImpl<?> definition)
JavaImplementation
setConstructor in interface JavaImplementationdefinition - the constructor used to instantiate implementation instancespublic java.lang.reflect.Method getInitMethod()
JavaImplementation
getInitMethod in interface JavaImplementationpublic void setInitMethod(java.lang.reflect.Method initMethod)
JavaImplementation
setInitMethod in interface JavaImplementationinitMethod - the component initializer methodpublic java.lang.reflect.Method getDestroyMethod()
JavaImplementation
getDestroyMethod in interface JavaImplementationpublic void setDestroyMethod(java.lang.reflect.Method destroyMethod)
JavaImplementation
setDestroyMethod in interface JavaImplementationdestroyMethod - the component destructor methodpublic java.util.Map<java.lang.String,JavaResourceImpl> getResources()
JavaImplementation
getResources in interface JavaImplementationpublic java.util.List<java.lang.reflect.Member> getConversationIDMembers()
JavaImplementation
getConversationIDMembers in interface JavaImplementationpublic void addConversationIDMember(java.lang.reflect.Member conversationIDMember)
JavaImplementation
addConversationIDMember in interface JavaImplementationpublic boolean isAllowsPassByReference()
JavaImplementation
isAllowsPassByReference in interface JavaImplementationpublic void setAllowsPassByReference(boolean allowsPassByReference)
setAllowsPassByReference in interface JavaImplementationallowsPassByReference - the allowsPassByReference to setpublic java.util.List<java.lang.reflect.Method> getAllowsPassByReferenceMethods()
getAllowsPassByReferenceMethods in interface JavaImplementationpublic boolean isAllowsPassByReference(java.lang.reflect.Method method)
isAllowsPassByReference in interface JavaImplementationpublic java.util.Map<java.lang.reflect.Constructor,JavaConstructorImpl> getConstructors()
getConstructors in interface JavaImplementationpublic boolean isEagerInit()
isEagerInit in interface JavaImplementationpublic void setEagerInit(boolean eagerInit)
setEagerInit in interface JavaImplementationeagerInit - the eagerInit to setpublic java.util.Map<java.lang.String,java.util.Collection<JavaElementImpl>> getCallbackMembers()
getCallbackMembers in interface JavaImplementationpublic java.util.Map<java.lang.String,JavaElementImpl> getPropertyMembers()
getPropertyMembers in interface JavaImplementationpublic java.util.Map<java.lang.String,JavaElementImpl> getReferenceMembers()
getReferenceMembers in interface JavaImplementationpublic JavaScopeImpl getJavaScope()
getJavaScope in interface JavaImplementationpublic void setJavaScope(JavaScopeImpl scope)
setJavaScope in interface JavaImplementationscope - the scope to setpublic long getMaxAge()
getMaxAge in interface JavaImplementationpublic void setMaxAge(long maxAge)
setMaxAge in interface JavaImplementationmaxAge - the maxAge to setpublic long getMaxIdleTime()
getMaxIdleTime in interface JavaImplementationpublic void setMaxIdleTime(long maxIdleTime)
setMaxIdleTime in interface JavaImplementationmaxIdleTime - the maxIdleTime to setpublic java.util.List<PolicyHandlerTuple> getPolicyHandlerClassNames()
getPolicyHandlerClassNames in interface JavaImplementationpublic void setPolicyHandlerClassNames(java.util.List<PolicyHandlerTuple> policyHandlerClassNames)
setPolicyHandlerClassNames in interface JavaImplementationpolicyHandlerClassNames - Map of policyhandler class namespublic java.lang.String getName()
BaseJavaImplementation
getName in interface BaseJavaImplementationpublic void setName(java.lang.String className)
BaseJavaImplementation
setName in interface BaseJavaImplementationclassName - the name of the Java implementation classpublic java.lang.Class<?> getJavaClass()
BaseJavaImplementation
getJavaClass in interface BaseJavaImplementationpublic void setJavaClass(java.lang.Class<?> javaClass)
BaseJavaImplementation
setJavaClass in interface BaseJavaImplementationjavaClass - the Java implementation classpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class ComponentTypeImplpublic boolean equals(java.lang.Object obj)
equals in class ComponentTypeImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||