Java Doc for KeRegisteredObject.java in  » J2EE » WiSerFramework » de » ug2t » kernel » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » WiSerFramework » de.ug2t.kernel 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.ug2t.kernel.KeRegisteredObject

All known Subclasses:   de.ug2t.kernel.KeDataMapper,  de.ug2t.unifiedGui.loader.UnListLoader,  de.ug2t.channel.ho.HoGenericDataContainer,  de.ug2t.connector.ACoDataGetter,  de.ug2t.unifiedGui.views.UnIconValueView,  de.ug2t.connector.CoSqlField,  de.ug2t.unifiedGui.loader.UnTreeViewLoader,  de.ug2t.kernel.KeTreeElement,  de.ug2t.kernel.KeTable,  de.ug2t.unifiedGui.UnFontDescriptor,  de.ug2t.channel.ho.session.HoXmlRpcDispatcher,  de.ug2t.unifiedGui.plugins.PlBasicComponentAggregat,  de.ug2t.unifiedGui.loader.UnTableLoader,
KeRegisteredObject
public class KeRegisteredObject implements Runnable,IKeExecutable,IKeValueContainer,IKeRegisteredObject(Code)

author:
   Dirk
author:
   date: 02.01.2004 project: WiSer-Framework
author:
  


author:
   This class is responsible for the access to registered objects. A registered
author:
   object is identified by its name. This name has to be unique either in the
author:
   namespace of a thread (only accessable from this thread) or in a global
author:
   namespace (accessable from all threads).
author:
  



Field Summary
final public static  intAUTO_DELETE_DISABLED
    
final public static  intAUTO_DELETE_EARLY
    
final public static  intAUTO_DELETE_LATE
    
protected volatile  booleanpdm_deleted
    

Constructor Summary
public  KeRegisteredObject()
    
protected  KeRegisteredObject(boolean xRegister)
    

Method Summary
public  voidfinalize()
    
protected  booleanisDeleted()
    
public static synchronized  voidpcmf_addRegListener(String xCtx, IKeRegistrationListener xListen)
    
public static  voidpcmf_addRegListener(IKeRegistrationListener xListen)
    
public static  ArrayListpcmf_broadcastMessage(KeIPCMessage xMess)
    
public static  voidpcmf_clearAllMessages()
    
public static  voidpcmf_clearMessages(String xCtx)
    
public static  voidpcmf_clearMessages()
    
public  voidpcmf_delete()
    
final public static  voidpcmf_deleteContext(String xName)
    
public  Objectpcmf_execObj(Object xObj)
    
public static  Stringpcmf_filterShortName(String xName)
    
final public  Objectpcmf_getAdditionalInfo()
    
final public  Objectpcmf_getAdditionalnfo()
    
public static  ArrayListpcmf_getAllAutoDeletes()
    
public static synchronized  ArrayListpcmf_getAllContextIDs()
    
public static  KeObjectStoragepcmf_getCurrentContext()
    
public static  Stringpcmf_getCurrentContextID()
    
public static  booleanpcmf_getEnhanced()
    
final public static  Objectpcmf_getGlobalObjByLongName(String xName)
    
final public static  Objectpcmf_getGlobalObjByName(String xName)
    
final public static  Stringpcmf_getGlobalObjName(Object xObj)
    
public static synchronized  IKeIDGeneratorpcmf_getIDGenerator()
    
final public static  Objectpcmf_getLocalObjByName(String xName)
    
final public static  Objectpcmf_getLocalOrRemoteObjByName(String xName)
    
public static  KeIPCMessagepcmf_getMessage()
    
final public static  Objectpcmf_getObjByLongName(String xName)
    
final public static  Objectpcmf_getObjByName(String xName)
    

Gets an object which is identified by its unique name.

final public static  Objectpcmf_getObjByName(String xName, String xCtx)
    

Gets an object which is identified by its unique name from the given context.

final public  Stringpcmf_getObjLongName()
    
final public static  Stringpcmf_getObjName(Object xObj)
    
final public  Stringpcmf_getObjName()
    
public static  ArrayListpcmf_getRegListeners()
    
public static  ArrayListpcmf_getRegListeners(String xCtx)
    
public static  booleanpcmf_getRegister()
    
public static  booleanpcmf_getRegister(String xCtx)
    
public static synchronized  Stringpcmf_getRegistryStatisticString(boolean xSeparateClasses)
    
final public  Stringpcmf_getRemName()
    
public static synchronized  intpcmf_getTotalObjectCount()
    
public  Stringpcmf_getUniqueName()
    
public  Objectpcmf_getValue()
    
public static  Stringpcmf_getVersion()
    
public  booleanpcmf_isDeleted()
    
final public  booleanpcmf_isGlobal()
    
final public static  booleanpcmf_isGlobal(Object xObj)
    
final public  booleanpcmf_isLocal()
    
final public static  booleanpcmf_isLocal(Object xObj)
    
final public  booleanpcmf_isRegistered()
    
final public static  booleanpcmf_isRegistered(Object xObj)
    
public  booleanpcmf_isRemoted()
    
public static  voidpcmf_pushMessage(String xCtx, KeIPCMessage xMess)
    
final public static  voidpcmf_reRegister(String xName, Object xObj)
    
public  voidpcmf_reRegister(String xName)
    
final public static  intpcmf_register(String xName, Object xObj)
    
public  intpcmf_register(String xName)
    
final public  voidpcmf_register2NewName(String xName)
    
final public static  intpcmf_registerGlobal(String xName, Object xObj)
    
final public  intpcmf_registerGlobal(String xName)
    
final public  voidpcmf_registerGlobal2NewName(String xName)
    
final public static  intpcmf_registerInContext(String xName, Object xObj, String xCtx)
    
public  intpcmf_registerInContext(String xName, String xCtx)
    
final public static  voidpcmf_removeContext(String xName)
    
public static synchronized  voidpcmf_removeRegListener(String xCtx, IKeRegistrationListener xListen)
    
public static  voidpcmf_removeRegListener(IKeRegistrationListener xListen)
    
final public  voidpcmf_resetRemoteName()
    
final public  voidpcmf_setAdditionalInfo(Object xObj)
    
public static  voidpcmf_setContextAutoDelete(int xAutoDelete)
    

Sets a context to AUTO_DELETE_DISABLED, AUTO_DELETE_EARLY or AUTO_DELETE_LATE.

public static  Stringpcmf_setCurrentContextID(String xName)
    
public  voidpcmf_setEarlyAutoDelete(boolean xWR)
    
public static synchronized  voidpcmf_setIDGenerator(IKeIDGenerator xGen)
    
public  voidpcmf_setLateAutoDelete(boolean xWR)
    
public static  voidpcmf_setRegister(boolean xReg)
    
public static  voidpcmf_setRegister(String xCtx, boolean xReg)
    
final public  voidpcmf_setRemName(String xRemName)
    
public  voidpcmf_setValue(Object xValue)
    
public  Objectpcmf_setValueValidate(Object xValue)
    
final public static  Objectpcmf_unRegister(String xName)
    
final public  Objectpcmf_unRegister()
    
final public static  Objectpcmf_unRegister(Object xObj)
    
protected  voidpdmf_resetThread()
    
public  voidrun()
    

Field Detail
AUTO_DELETE_DISABLED
final public static int AUTO_DELETE_DISABLED(Code)



AUTO_DELETE_EARLY
final public static int AUTO_DELETE_EARLY(Code)



AUTO_DELETE_LATE
final public static int AUTO_DELETE_LATE(Code)



pdm_deleted
protected volatile boolean pdm_deleted(Code)




Constructor Detail
KeRegisteredObject
public KeRegisteredObject()(Code)

Creates a registred object with a unique name in the currently running threads namespace




KeRegisteredObject
protected KeRegisteredObject(boolean xRegister)(Code)

Creates a registrable object


Parameters:
  xRegister - true registers the object, false does not register the object





Method Detail
finalize
public void finalize() throws Throwable(Code)



isDeleted
protected boolean isDeleted()(Code)
For internal use only



pcmf_addRegListener
public static synchronized void pcmf_addRegListener(String xCtx, IKeRegistrationListener xListen)(Code)

Adds a registration listener to a given context


Parameters:
  xCtx - context name
Parameters:
  xListen - registration listener




pcmf_addRegListener
public static void pcmf_addRegListener(IKeRegistrationListener xListen)(Code)

Adds a registration listener to this context


Parameters:
  xCtx - context name
Parameters:
  xListen - registration listener




pcmf_broadcastMessage
public static ArrayList pcmf_broadcastMessage(KeIPCMessage xMess)(Code)

Broadcasts a message to all contexts and returns a list which contains the context IDs


Parameters:
  xMess - message to send list of receiving contexts




pcmf_clearAllMessages
public static void pcmf_clearAllMessages()(Code)

Clears all messageboxes




pcmf_clearMessages
public static void pcmf_clearMessages(String xCtx)(Code)

Clears a specific message box


Parameters:
  xCtx - context ID




pcmf_clearMessages
public static void pcmf_clearMessages()(Code)

Clears message box


Parameters:
  xCtx - context ID




pcmf_delete
public void pcmf_delete() throws Exception(Code)



pcmf_deleteContext
final public static void pcmf_deleteContext(String xName)(Code)
For internal use only



pcmf_execObj
public Object pcmf_execObj(Object xObj)(Code)
For internal use only



pcmf_filterShortName
public static String pcmf_filterShortName(String xName)(Code)
For internal use only



pcmf_getAdditionalInfo
final public Object pcmf_getAdditionalInfo()(Code)



pcmf_getAdditionalnfo
final public Object pcmf_getAdditionalnfo()(Code)
For internal use only



pcmf_getAllAutoDeletes
public static ArrayList pcmf_getAllAutoDeletes()(Code)
For internal use only



pcmf_getAllContextIDs
public static synchronized ArrayList pcmf_getAllContextIDs()(Code)
For internal use only



pcmf_getCurrentContext
public static KeObjectStorage pcmf_getCurrentContext()(Code)
For internal use only



pcmf_getCurrentContextID
public static String pcmf_getCurrentContextID()(Code)

Gets hte ID of the current context

contect ID




pcmf_getEnhanced
public static boolean pcmf_getEnhanced()(Code)
Returns true for the commercial release



pcmf_getGlobalObjByLongName
final public static Object pcmf_getGlobalObjByLongName(String xName)(Code)
For internal use only



pcmf_getGlobalObjByName
final public static Object pcmf_getGlobalObjByName(String xName)(Code)
For internal use only



pcmf_getGlobalObjName
final public static String pcmf_getGlobalObjName(Object xObj)(Code)

Gets the unique name of an object from the global namespace


Parameters:
  xObj - object to get the unique name from objects name




pcmf_getIDGenerator
public static synchronized IKeIDGenerator pcmf_getIDGenerator()(Code)
For internal use only



pcmf_getLocalObjByName
final public static Object pcmf_getLocalObjByName(String xName)(Code)
For internal use only



pcmf_getLocalOrRemoteObjByName
final public static Object pcmf_getLocalOrRemoteObjByName(String xName)(Code)
For internal use only



pcmf_getMessage
public static KeIPCMessage pcmf_getMessage()(Code)

Gets a message from the current context's message list

message or null if list is empty




pcmf_getObjByLongName
final public static Object pcmf_getObjByLongName(String xName)(Code)
For internal use only



pcmf_getObjByName
final public static Object pcmf_getObjByName(String xName)(Code)

Gets an object which is identified by its unique name. The namespace of the currently running thread is searched through first. If the name does not exist there the sub threads and the global namespace is scanned as well.


Parameters:
  xName - unique name object




pcmf_getObjByName
final public static Object pcmf_getObjByName(String xName, String xCtx)(Code)

Gets an object which is identified by its unique name from the given context.


Parameters:
  xName - unique name
Parameters:
  xCtx - contect ID object




pcmf_getObjLongName
final public String pcmf_getObjLongName()(Code)
For internal use only



pcmf_getObjName
final public static String pcmf_getObjName(Object xObj)(Code)

Gets the unique name of an object


Parameters:
  xObj - object to get the unique name from objects name




pcmf_getObjName
final public String pcmf_getObjName()(Code)

Gets the unique name of this object

objects name




pcmf_getRegListeners
public static ArrayList pcmf_getRegListeners()(Code)

Returns the list with all registration listeners of this context

list




pcmf_getRegListeners
public static ArrayList pcmf_getRegListeners(String xCtx)(Code)

Returns the list with all registration listeners of the given context

list




pcmf_getRegister
public static boolean pcmf_getRegister()(Code)
For internal use only



pcmf_getRegister
public static boolean pcmf_getRegister(String xCtx)(Code)
For internal use only



pcmf_getRegistryStatisticString
public static synchronized String pcmf_getRegistryStatisticString(boolean xSeparateClasses)(Code)
For internal use only



pcmf_getRemName
final public String pcmf_getRemName()(Code)
For internal use only



pcmf_getTotalObjectCount
public static synchronized int pcmf_getTotalObjectCount()(Code)
For internal use only



pcmf_getUniqueName
public String pcmf_getUniqueName()(Code)
For internal use only



pcmf_getValue
public Object pcmf_getValue()(Code)
For internal use only



pcmf_getVersion
public static String pcmf_getVersion()(Code)
Returns the current version



pcmf_isDeleted
public boolean pcmf_isDeleted()(Code)



pcmf_isGlobal
final public boolean pcmf_isGlobal()(Code)



pcmf_isGlobal
final public static boolean pcmf_isGlobal(Object xObj)(Code)

Returns whether this object is registered globaly or not




pcmf_isLocal
final public boolean pcmf_isLocal()(Code)



pcmf_isLocal
final public static boolean pcmf_isLocal(Object xObj)(Code)

Returns whether this object is registered locally or not




pcmf_isRegistered
final public boolean pcmf_isRegistered()(Code)



pcmf_isRegistered
final public static boolean pcmf_isRegistered(Object xObj)(Code)

Returns whether this object is registered or not




pcmf_isRemoted
public boolean pcmf_isRemoted()(Code)
For internal use only



pcmf_pushMessage
public static void pcmf_pushMessage(String xCtx, KeIPCMessage xMess)(Code)

Pushs a message to one singe context


Parameters:
  xCtx - context ID
Parameters:
  xMess - message to send




pcmf_reRegister
final public static void pcmf_reRegister(String xName, Object xObj)(Code)

Reregisters an object in the currently running threads namespace which is not derived from KeRegisteredObject


Parameters:
  xName - unique name of the object
Parameters:
  xObj - object to register




pcmf_reRegister
public void pcmf_reRegister(String xName)(Code)
For internal use only



pcmf_register
final public static int pcmf_register(String xName, Object xObj)(Code)

Registers an object in the currently running threads namespace which is not derived from KeRegisteredObject


Parameters:
  xName - unique name of the object
Parameters:
  xObj - object to register




pcmf_register
public int pcmf_register(String xName)(Code)



pcmf_register2NewName
final public void pcmf_register2NewName(String xName)(Code)
For internal use only



pcmf_registerGlobal
final public static int pcmf_registerGlobal(String xName, Object xObj)(Code)

Registers an object in the global namespace which is not derived from KeRegisteredObject


Parameters:
  xName - unique name of the object
Parameters:
  xObj - object to register




pcmf_registerGlobal
final public int pcmf_registerGlobal(String xName)(Code)



pcmf_registerGlobal2NewName
final public void pcmf_registerGlobal2NewName(String xName)(Code)
For internal use only



pcmf_registerInContext
final public static int pcmf_registerInContext(String xName, Object xObj, String xCtx)(Code)

Registers an object in the given threads namespace which is not derived from KeRegisteredObject


Parameters:
  xName - unique name of the object
Parameters:
  xObj - object to register
Parameters:
  xCtx - Thread name




pcmf_registerInContext
public int pcmf_registerInContext(String xName, String xCtx)(Code)

Registers an object in the given threads namespace which is derived from KeRegisteredObject


Parameters:
  xName - unique name of the object and must not be null
Parameters:
  xCtx - Thread name




pcmf_removeContext
final public static void pcmf_removeContext(String xName)(Code)



pcmf_removeRegListener
public static synchronized void pcmf_removeRegListener(String xCtx, IKeRegistrationListener xListen)(Code)

Removes a registration listener from a given context


Parameters:
  xCtx - context name
Parameters:
  xListen - registration listener




pcmf_removeRegListener
public static void pcmf_removeRegListener(IKeRegistrationListener xListen)(Code)

Removes a registration listener from this context


Parameters:
  xCtx - context name
Parameters:
  xListen - registration listener




pcmf_resetRemoteName
final public void pcmf_resetRemoteName()(Code)
For internal use only



pcmf_setAdditionalInfo
final public void pcmf_setAdditionalInfo(Object xObj)(Code)
For internal use only



pcmf_setContextAutoDelete
public static void pcmf_setContextAutoDelete(int xAutoDelete)(Code)

Sets a context to AUTO_DELETE_DISABLED, AUTO_DELETE_EARLY or AUTO_DELETE_LATE. That means that the objects createtd in this context are either removed by the garbage collector as soon as they are not referenced, removed by the garbage collector when memory is low or not removed by the garbage collector.


Parameters:
  xAutoDelete - delete behaviour




pcmf_setCurrentContextID
public static String pcmf_setCurrentContextID(String xName)(Code)
For internal use only



pcmf_setEarlyAutoDelete
public void pcmf_setEarlyAutoDelete(boolean xWR)(Code)



pcmf_setIDGenerator
public static synchronized void pcmf_setIDGenerator(IKeIDGenerator xGen)(Code)
For internal use only



pcmf_setLateAutoDelete
public void pcmf_setLateAutoDelete(boolean xWR)(Code)



pcmf_setRegister
public static void pcmf_setRegister(boolean xReg)(Code)
For internal use only



pcmf_setRegister
public static void pcmf_setRegister(String xCtx, boolean xReg)(Code)
For internal use only



pcmf_setRemName
final public void pcmf_setRemName(String xRemName)(Code)
For internal use only



pcmf_setValue
public void pcmf_setValue(Object xValue)(Code)
For internal use only



pcmf_setValueValidate
public Object pcmf_setValueValidate(Object xValue)(Code)
For internal use only



pcmf_unRegister
final public static Object pcmf_unRegister(String xName)(Code)
For internal use only



pcmf_unRegister
final public Object pcmf_unRegister()(Code)



pcmf_unRegister
final public static Object pcmf_unRegister(Object xObj)(Code)
For internal use only



pdmf_resetThread
protected void pdmf_resetThread()(Code)
For internal use only



run
public void run()(Code)
For internal use only



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.