|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
ImplementationClass For Library?
Can the ImplementationClass tag be used with a Library? I am creating a STVI plugin that requires a JAR that has a background thread running while Sage is running. The JAR has no use except to support the STVI plugin.
It seems like to minimize clutter in the "Standard" plugin section, that this JAR should be more hidden out of the way in the "Library" section and just be pulled in as a dependancy, however, I do need the plugin capabilities to launch a start() routine when Sage is loading? Thanks!! |
#2
|
||||
|
||||
Only Standard plugins can have an ImplementationClass.
But be aware that your Standard plugin will be instantiated just once, in the service, whereas the STVI component can exist in multiple instances, one per client. If that's what you intend, you'll need to manage synchronization between the multiple STVIs and the single background thread. Also note that there can be cases where the Standard plugin is enabled and started, but no instances of the STVI are running (e.g. because it's disabled, or because no compatible clients are running). On the other hand if what you want is a background thread per client, then you should probably be doing a Fork() under ApplicationStarted in your STVI code rather than putting the thread in a separate JAR.
__________________
-- Greg |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Demand for Custom Picture Library and Music Library screens? | PLUCKYHD | SageMC Custom Interface | 62 | 09-13-2009 06:52 AM |
6.3.9 and Music Library | camus | SageTV Beta Test Software | 2 | 02-28-2008 08:50 PM |
DVD Library | traker1001 | SageTV Beta Test Software | 5 | 11-21-2006 12:40 AM |
Music library | natesneat2000 | SageTV Software | 0 | 12-21-2004 02:39 PM |
Problems with library | pscs | SageTV Beta Test Software | 5 | 05-09-2003 12:28 PM |