com.prolifics.jco
Class PantherComponent

java.lang.Object
  extended by com.prolifics.jco.PantherComponentServer
      extended by com.prolifics.jco.PantherComponent
All Implemented Interfaces:
Component, PoolableComponent

public class PantherComponent
extends PantherComponentServer
implements PoolableComponent


Field Summary
protected  ComponentFactory componentFactory
           
 boolean inuse
           
 boolean isCreated
           
 boolean isRemovedFromPool
           
 
Fields inherited from class com.prolifics.jco.PantherComponentServer
pctx
 
Constructor Summary
PantherComponent(ComponentKey componentKey, ComponentFactory componentFactory)
           
PantherComponent(java.lang.String name, ComponentFactory componentFactory)
           
 
Method Summary
 void create()
           
 void destroy()
           
 void execute(MethodSignature msig, java.util.Map<java.lang.String,java.lang.Object> imap, java.util.Map<java.lang.String,java.lang.Object> omap)
           
 java.util.Vector<OutParameter> execute(java.lang.String methodName)
           
 void execute(java.lang.String methodSignature, java.util.Map<java.lang.String,java.lang.Object> map)
           
 void execute(java.lang.String methodSignature, java.util.Map<java.lang.String,java.lang.Object> imap, java.util.Map<java.lang.String,java.lang.Object> omap)
           
protected  void finalize()
           
 ComponentKey getComponentKey()
           
 java.lang.String getName()
           
 boolean isCreated()
           
static void main(java.lang.String[] args)
           
 void release()
           
 void remove()
           
protected  void setBeanProperty(java.lang.Object bean, OutParameter o, java.beans.PropertyDescriptor pd)
           
 void setCreated(boolean isCreated)
           
 void setName(java.lang.String name)
           
 java.lang.String smName()
           
 boolean validate()
           
 
Methods inherited from class com.prolifics.jco.PantherComponentServer
jcoCreate, jcoRemove, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddIn, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smAddOut, smCallMethod, smCreate, smGetBoolean, smGetBoolean, smGetBooleanArray, smGetComponents, smGetComponents, smGetDouble, smGetDouble, smGetDoubleArray, smGetInt, smGetInt, smGetIntArray, smGetLibraries, smGetLibraries, smGetMethodInfo, smGetMethodInfo, smGetMethods, smGetMethods, smGetObject, smGetObject, smGetObjectArray, smGetOutParameters, smGetString, smGetString, smGetStringArray, smIdToObject, smIdToObject, smInvoke, smInvokeBoolean, smInvokeBooleanArray, smInvokeDouble, smInvokeDoubleArray, smInvokeInt, smInvokeIntArray, smInvokeObject, smInvokeObjectArray, smInvokeStateless, smInvokeString, smInvokeStringArray, smInvokeVoid, smObjectToId, smObjectToId, smRemove, smSet, smSet, smSet, smSet, smSet, smSet, smSet, smSet, smSet, smSet, smSet, smSet, smSet, smSet, smSet
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

componentFactory

protected ComponentFactory componentFactory

inuse

public boolean inuse

isCreated

public boolean isCreated

isRemovedFromPool

public boolean isRemovedFromPool
Constructor Detail

PantherComponent

public PantherComponent(java.lang.String name,
                        ComponentFactory componentFactory)

PantherComponent

public PantherComponent(ComponentKey componentKey,
                        ComponentFactory componentFactory)
Method Detail

getComponentKey

public ComponentKey getComponentKey()
Specified by:
getComponentKey in interface PoolableComponent

validate

public boolean validate()
Specified by:
validate in interface PoolableComponent

isCreated

public boolean isCreated()

setCreated

public void setCreated(boolean isCreated)

smName

public java.lang.String smName()
Overrides:
smName in class PantherComponentServer

create

public void create()

remove

public void remove()
            throws java.lang.Exception
Specified by:
remove in interface PoolableComponent
Throws:
java.lang.Exception

destroy

public void destroy()
             throws java.lang.Exception
Specified by:
destroy in interface PoolableComponent
Throws:
java.lang.Exception

release

public void release()
             throws java.lang.Exception
Specified by:
release in interface PoolableComponent
Throws:
java.lang.Exception

execute

public java.util.Vector<OutParameter> execute(java.lang.String methodName)

execute

public void execute(java.lang.String methodSignature,
                    java.util.Map<java.lang.String,java.lang.Object> map)
             throws java.lang.Exception
Throws:
java.lang.Exception

execute

public void execute(java.lang.String methodSignature,
                    java.util.Map<java.lang.String,java.lang.Object> imap,
                    java.util.Map<java.lang.String,java.lang.Object> omap)
             throws java.lang.Exception
Throws:
java.lang.Exception

execute

public void execute(MethodSignature msig,
                    java.util.Map<java.lang.String,java.lang.Object> imap,
                    java.util.Map<java.lang.String,java.lang.Object> omap)
             throws java.lang.Exception
Throws:
java.lang.Exception

getName

public java.lang.String getName()
Specified by:
getName in interface Component

setName

public void setName(java.lang.String name)
Specified by:
setName in interface Component

setBeanProperty

protected void setBeanProperty(java.lang.Object bean,
                               OutParameter o,
                               java.beans.PropertyDescriptor pd)
                        throws java.lang.Exception
Throws:
java.lang.Exception

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

main

public static void main(java.lang.String[] args)
Parameters:
args -