Package Class Use Tree Index Help 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.
Field Summary protected IDataSource dataSource
Constructor Summary DataSourceService(java.beans.PropertyChangeListener argsListener)
Method Summary void actionPerformed(IActionBinder action)
Reacts to some action performed on this data source service.protected void addArgListeners()
Add the argument listener to all of the service arguments.protected void clearArgListeners()
Remove the argument listener from all of the service arguments.protected java.lang.Object getArg(int index)
If the argument points to a binder, it will have to use the binder's object, and potentially a property from itIDataSource getDataSource()
Get the Data Source associated with this action.protected java.lang.String getErrorMessage()
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 calljava.lang.Object invokeDataSourceService()
Use the service provider to retrive an object.protected void log(java.lang.String s)
protected void log(java.lang.Throwable t)
The log(xxx) methods are called in case of a failure.void refresh()
Refresh the data source service.protected void refreshArguments()
Call the refresh() method on all of the service arguments.protected java.lang.reflect.Method resolveMethod()
Resolve the service method based on the serviceName and argument signaturevoid 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 clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Field Detail
protected IDataSource dataSource
Constructor Detail
public DataSourceService(java.beans.PropertyChangeListener argsListener)
Method Detail
protected void log(java.lang.Throwable t)
protected void log(java.lang.String s)
protected java.lang.String getErrorMessage()
protected void clearArgListeners()
protected void addArgListeners()
public void setDataSource(IDataSource source)
public IDataSource getDataSource()
public void setServiceSignature(java.lang.String service) throws java.lang.IllegalArgumentException
public java.lang.String getServiceSignature()
public void setServiceArgument(ObjectReference arg)
public ObjectReference getServiceArgument()
public java.lang.String toString()
protected java.lang.reflect.Method resolveMethod() throws java.lang.Exception
protected void refreshArguments()
protected java.lang.Object getArg(int index)
public java.lang.Object invokeDataSourceService() throws java.lang.IllegalStateException
public void actionPerformed(IActionBinder action)
public java.lang.Class getType() throws java.lang.IllegalStateException
public void refresh()
Package Class Use Tree Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD