|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjve.generated.DataSourceService
Default implementation of IDataSourceService.
| Constructor Summary | |
DataSourceService(java.beans.PropertyChangeListener argsListener)
|
|
| Method Summary | |
void |
actionPerformed(IActionBinder action)
Reacts to some action performed on this data source service. |
java.lang.Class |
getClass(java.lang.String clazz)
|
IDataSource |
getDataSource()
Get the Data Source associated with this action. |
ObjectReference |
getServiceArgument()
Get the argument used as the parameter for the service call. |
java.lang.String |
getServiceSignature()
Get the service signature for this action. |
java.lang.Class |
getType()
Get the return type of the service call |
java.lang.Object |
invokeDataSourceService()
Use the service provider to retrive an object. |
void |
refresh()
Refresh the data source service. |
void |
setDataSource(IDataSource source)
Set the Data Source associated with this action. |
void |
setServiceArgument(ObjectReference arg)
Set the argument for the service call, according to the method signature set with the setService method. |
void |
setServiceSignature(java.lang.String service)
This is the service method signature that is to be use. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DataSourceService(java.beans.PropertyChangeListener argsListener)
| Method Detail |
public void setDataSource(IDataSource source)
IDataSourceService
setDataSource in interface IDataSourceServicesource - DataSource to use for this servicepublic IDataSource getDataSource()
IDataSourceService
getDataSource in interface IDataSourceService
public java.lang.Class getClass(java.lang.String clazz)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public void setServiceSignature(java.lang.String service)
throws java.lang.IllegalArgumentException
IDataSourceService
setServiceSignature in interface IDataSourceServiceservice - signature
java.lang.IllegalArgumentExceptionpublic java.lang.String getServiceSignature()
IDataSourceService
getServiceSignature in interface IDataSourceServicepublic void setServiceArgument(ObjectReference arg)
IDataSourceService
setServiceArgument in interface IDataSourceServicearg - the service argumentpublic ObjectReference getServiceArgument()
IDataSourceService
getServiceArgument in interface IDataSourceServicepublic java.lang.String toString()
public java.lang.Object invokeDataSourceService()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if there's an error invoking the servicepublic void actionPerformed(IActionBinder action)
action - the action performed
public java.lang.Class getType()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if the service isn't properly set up or there was a reflection exceptionpublic void refresh()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||