Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.newsfighter.layout
Interface SkinFactory  view SkinFactory download SkinFactory.java

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface SkinFactory
extends javax.ejb.EJBObject

SkinFactory is a CMP persistent object. It performs a crawl through the skins directory and builds a sorted list of Skin objects. It is manageable through the SkinFactoryJMXService. The SkinFactory can be cached into the database for retrieval. That way if the server crashes, it doesn't have to reload all of its skins. SkinFactory objects are accessible to all of the modules in the Newsfighter application through JMX. They can be accessed by any module element which implements the Skinnable interface.


Method Summary
 void addSkin(Skin skin)
           
 void Assemble(java.lang.String xmlFileLocation)
           
 void crawl()
           
 Skin getSkin(int key)
           
 Skin getSkin(java.lang.String name)
           
 void reloadSkins()
           
 java.lang.String toString()
           
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

crawl

public void crawl()
           throws java.rmi.RemoteException

Assemble

public void Assemble(java.lang.String xmlFileLocation)
              throws java.rmi.RemoteException

getSkin

public Skin getSkin(int key)
             throws java.rmi.RemoteException

getSkin

public Skin getSkin(java.lang.String name)
             throws java.rmi.RemoteException

addSkin

public void addSkin(Skin skin)
             throws java.rmi.RemoteException

toString

public java.lang.String toString()
                          throws java.rmi.RemoteException

reloadSkins

public void reloadSkins()
                 throws java.rmi.RemoteException