org.example.finance
Class FinanceModule
java.lang.Object
net.wgen.op.system.OpModule
org.example.finance.FinanceModule
- All Implemented Interfaces:
- java.io.Serializable
- public class FinanceModule
- extends OpModule
- Version:
- $Id: FinanceModule.html,v 1.2 2007/01/28 04:09:37 paulfeuer Exp $
- Author:
- Paul Feuer, Wireless Generation, Inc.
- See Also:
- Serialized Form
|
Method Summary |
int |
getClassMatchLength(java.lang.Class clazz)
The amount of the class name that can be claimed by this Application. |
java.lang.String |
getDataSourceName()
The datasource name in the oracle-xa-ds configuration file. |
java.lang.Long |
getModuleId()
The applicationSid of the application. |
int |
getUrlMatchLength(java.lang.String url)
The amount of the url that can be claimed by this Application. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
DATA_SOURCE
public static final java.lang.String DATA_SOURCE
- See Also:
- Constant Field Values
MODULE_ID
public static final java.lang.Long MODULE_ID
FinanceModule
public FinanceModule()
getUrlMatchLength
public int getUrlMatchLength(java.lang.String url)
- The amount of the url that can be claimed by this Application. Returning a -1 means
that this application makes no claim on the url. The highest scoring claim wins.
- Specified by:
getUrlMatchLength in class OpModule
- Parameters:
url -
- Returns:
- the amount of the url that can be claimed by this url
getClassMatchLength
public int getClassMatchLength(java.lang.Class clazz)
- The amount of the class name that can be claimed by this Application. Returning a 0
means that this application makes no claim on the class. The highest scoring claim
wins.
- Specified by:
getClassMatchLength in class OpModule
- Parameters:
clazz -
- Returns:
- the amount of the url that can be claimed by this url
getModuleId
public java.lang.Long getModuleId()
- The applicationSid of the application.
- Specified by:
getModuleId in class OpModule
- Returns:
- the applicationSid of the application
getDataSourceName
public java.lang.String getDataSourceName()
- Description copied from class:
OpModule
- The datasource name in the oracle-xa-ds configuration file.
- Overrides:
getDataSourceName in class OpModule
- Returns:
- the datasource name in the oracle-xa-ds configuration file.