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

Quick Search    Search Deep

ru.gammalabs.ice.framework
Class HomeFactory  view HomeFactory download HomeFactory.java

java.lang.Object
  extended byru.gammalabs.ice.framework.RepresentativeSupport
      extended byru.gammalabs.ice.framework.RepresentativeFactory
          extended byru.gammalabs.ice.framework.HomeFactory
All Implemented Interfaces:
Localizable, Representative

public class HomeFactory
extends RepresentativeFactory
implements Localizable


Field Summary
private  java.util.Map classes
           
private  ru.gammalabs.ice.forum.ForumHome forumHome
           
private  java.util.Map homes
           
private  java.util.Locale locale
           
private  java.util.Collection localizableObjects
           
private static org.apache.log4j.Category LOG
           
private  ru.gammalabs.ice.forum.MessageHome messageHome
           
private  java.lang.String propertiesBundle
           
 
Fields inherited from class ru.gammalabs.ice.framework.RepresentativeFactory
 
Fields inherited from class ru.gammalabs.ice.framework.RepresentativeSupport
 
Constructor Summary
HomeFactory()
           
HomeFactory(java.lang.String propertiesBundle)
           
 
Method Summary
private  java.lang.Object createHome(java.lang.String name)
           
 ru.gammalabs.ice.forum.ForumHome getForumHome()
           
 java.lang.Object getHome(java.lang.String name)
          Lookup and create home by name.
 java.util.Locale getLocale()
           
 ru.gammalabs.ice.forum.MessageHome getMessageHome()
           
private  void initHomeClasses(java.lang.String properties)
           
private  void notifyLocalizableObjects()
           
private  void registerLocalizable(java.lang.Object o)
           
 void registerRepresentativeObject(java.lang.Object o)
          Регистрирует внешний репрезентативный объект.
 void setLocale(java.util.Locale locale)
           
 
Methods inherited from class ru.gammalabs.ice.framework.RepresentativeFactory
registerRepresentative, setActor
 
Methods inherited from class ru.gammalabs.ice.framework.RepresentativeSupport
getActor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ru.gammalabs.ice.framework.Representative
getActor
 

Field Detail

LOG

private static org.apache.log4j.Category LOG

messageHome

private ru.gammalabs.ice.forum.MessageHome messageHome

forumHome

private ru.gammalabs.ice.forum.ForumHome forumHome

localizableObjects

private java.util.Collection localizableObjects

locale

private java.util.Locale locale

propertiesBundle

private java.lang.String propertiesBundle

classes

private java.util.Map classes

homes

private java.util.Map homes
Constructor Detail

HomeFactory

public HomeFactory()

HomeFactory

public HomeFactory(java.lang.String propertiesBundle)
Method Detail

setLocale

public void setLocale(java.util.Locale locale)
Specified by:
setLocale in interface Localizable

getLocale

public java.util.Locale getLocale()

getHome

public java.lang.Object getHome(java.lang.String name)
                         throws HomeLookupException
Lookup and create home by name.


createHome

private java.lang.Object createHome(java.lang.String name)
                             throws HomeLookupException

getMessageHome

public ru.gammalabs.ice.forum.MessageHome getMessageHome()

getForumHome

public ru.gammalabs.ice.forum.ForumHome getForumHome()

registerLocalizable

private void registerLocalizable(java.lang.Object o)

notifyLocalizableObjects

private void notifyLocalizableObjects()

initHomeClasses

private void initHomeClasses(java.lang.String properties)

registerRepresentativeObject

public void registerRepresentativeObject(java.lang.Object o)
Регистрирует внешний репрезентативный объект.