Java Doc for CommonsLoggingTracingContainerDecorator.java in  » Inversion-of-Control » PicoContainer » org » picocontainer » gems » containers » 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 » Inversion of Control » PicoContainer » org.picocontainer.gems.containers 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.picocontainer.gems.containers.CommonsLoggingTracingContainerDecorator

CommonsLoggingTracingContainerDecorator
public class CommonsLoggingTracingContainerDecorator implements MutablePicoContainer,Serializable(Code)

author:
   Michael Rimov



Constructor Summary
public  CommonsLoggingTracingContainerDecorator(MutablePicoContainer delegate)
     Default typical wrapper that wraps another MutablePicoContainer.
public  CommonsLoggingTracingContainerDecorator(MutablePicoContainer delegate, String loggingCategory)
     Alternate constructor that allows specification of the Logger to use.

Method Summary
public  voidaccept(PicoVisitor visitor)
    
public  MutablePicoContaineraddAdapter(ComponentAdapter componentAdapter)
    
public  MutablePicoContaineraddChildContainer(PicoContainer child)
    
public  MutablePicoContaineraddComponent(Object componentKey, Object componentImplementationOrInstance, Parameter... parameters)
    
public  MutablePicoContaineraddComponent(Object implOrInstance)
    
public  MutablePicoContaineraddConfig(String name, Object val)
    
public  MutablePicoContaineras(Properties... properties)
    
public  MutablePicoContainerchange(Properties... properties)
    
public  voiddispose()
    
public  ObjectgetComponent(Object componentKeyOrType)
    
public  TgetComponent(Class<T> componentType)
    
public  TgetComponent(Class<T> componentType, Class<? extends Annotation> binding)
    
public  ComponentAdaptergetComponentAdapter(Object componentKey)
    
public  ComponentAdapter<T>getComponentAdapter(Class<T> componentType, NameBinding componentNameBinding)
    
public  ComponentAdapter<T>getComponentAdapter(Class<T> componentType, Class<? extends Annotation> binding)
    
public  Collection<ComponentAdapter<?>>getComponentAdapters()
    
public  List<ComponentAdapter<T>>getComponentAdapters(Class<T> componentType)
    
public  List<ComponentAdapter<T>>getComponentAdapters(Class<T> componentType, Class<? extends Annotation> binding)
    
public  ListgetComponents()
    
public  List<T>getComponents(Class<T> componentType)
    
public  LoggetLoggerUsed()
     Retrieves the log instance used by this decorator.
public  PicoContainergetParent()
    
public  MutablePicoContainermakeChildContainer()
    
protected  voidonKeyOrTypeDoesNotExistInContainer(Object componentKey, Log target)
     Standard message handling for cases when a null object is returned for a given key.
public  booleanremoveChildContainer(PicoContainer child)
    
public  ComponentAdapterremoveComponent(Object componentKey)
    
public  ComponentAdapterremoveComponentByInstance(Object componentInstance)
    
public  voidstart()
    
public  voidstop()
    


Constructor Detail
CommonsLoggingTracingContainerDecorator
public CommonsLoggingTracingContainerDecorator(MutablePicoContainer delegate)(Code)
Default typical wrapper that wraps another MutablePicoContainer.
Parameters:
  delegate - Container to be decorated.
throws:
  NullPointerException - if delegate is null.



CommonsLoggingTracingContainerDecorator
public CommonsLoggingTracingContainerDecorator(MutablePicoContainer delegate, String loggingCategory)(Code)
Alternate constructor that allows specification of the Logger to use.
Parameters:
  delegate - Container to be decorated.
Parameters:
  loggingCategory - specific Log4j Logger to use.
throws:
  NullPointerException - if delegate or log is null.




Method Detail
accept
public void accept(PicoVisitor visitor)(Code)

Parameters:
  visitor -
See Also:   org.picocontainer.PicoContainer.accept(org.picocontainer.PicoVisitor)



addAdapter
public MutablePicoContainer addAdapter(ComponentAdapter componentAdapter)(Code)

Parameters:
  componentAdapter -
See Also:   org.picocontainer.MutablePicoContainer.addAdapter(org.picocontainer.ComponentAdapter)



addChildContainer
public MutablePicoContainer addChildContainer(PicoContainer child)(Code)

Parameters:
  child -
See Also:   org.picocontainer.MutablePicoContainer.addChildContainer(org.picocontainer.PicoContainer)



addComponent
public MutablePicoContainer addComponent(Object componentKey, Object componentImplementationOrInstance, Parameter... parameters)(Code)

Parameters:
  componentKey -
Parameters:
  componentImplementationOrInstance -
Parameters:
  parameters -



addComponent
public MutablePicoContainer addComponent(Object implOrInstance)(Code)

Parameters:
  implOrInstance -
See Also:   org.picocontainer.MutablePicoContainer.addComponent(java.lang.Object)



addConfig
public MutablePicoContainer addConfig(String name, Object val)(Code)



as
public MutablePicoContainer as(Properties... properties)(Code)



change
public MutablePicoContainer change(Properties... properties)(Code)



dispose
public void dispose()(Code)

See Also:   org.picocontainer.Disposable.dispose



getComponent
public Object getComponent(Object componentKeyOrType)(Code)

Parameters:
  componentKeyOrType -
See Also:   org.picocontainer.PicoContainer.getComponent(java.lang.Object)



getComponent
public T getComponent(Class<T> componentType)(Code)



getComponent
public T getComponent(Class<T> componentType, Class<? extends Annotation> binding)(Code)



getComponentAdapter
public ComponentAdapter getComponentAdapter(Object componentKey)(Code)

Parameters:
  componentKey -
See Also:   org.picocontainer.PicoContainer.getComponentAdapter(java.lang.Object)



getComponentAdapter
public ComponentAdapter<T> getComponentAdapter(Class<T> componentType, NameBinding componentNameBinding)(Code)

Parameters:
  componentType - ComponentAdapter or null.
See Also:   org.picocontainer.PicoContainer.getComponentAdapter(java.lang.Class)



getComponentAdapter
public ComponentAdapter<T> getComponentAdapter(Class<T> componentType, Class<? extends Annotation> binding)(Code)



getComponentAdapters
public Collection<ComponentAdapter<?>> getComponentAdapters()(Code)
Collection or null.
See Also:   org.picocontainer.PicoContainer.getComponentAdapters



getComponentAdapters
public List<ComponentAdapter<T>> getComponentAdapters(Class<T> componentType)(Code)

Parameters:
  componentType - List of ComponentAdapters
See Also:   org.picocontainer.PicoContainer.getComponentAdapters(java.lang.Class)



getComponentAdapters
public List<ComponentAdapter<T>> getComponentAdapters(Class<T> componentType, Class<? extends Annotation> binding)(Code)



getComponents
public List getComponents()(Code)

See Also:   org.picocontainer.PicoContainer.getComponents



getComponents
public List<T> getComponents(Class<T> componentType)(Code)

Parameters:
  componentType -
See Also:   org.picocontainer.PicoContainer.getComponents(java.lang.Class)



getLoggerUsed
public Log getLoggerUsed()(Code)
Retrieves the log instance used by this decorator. Logger instance.



getParent
public PicoContainer getParent()(Code)

See Also:   org.picocontainer.PicoContainer.getParent



makeChildContainer
public MutablePicoContainer makeChildContainer()(Code)

See Also:   org.picocontainer.MutablePicoContainer.makeChildContainer



onKeyOrTypeDoesNotExistInContainer
protected void onKeyOrTypeDoesNotExistInContainer(Object componentKey, Log target)(Code)
Standard message handling for cases when a null object is returned for a given key.
Parameters:
  componentKey - Component key that does not exist
Parameters:
  target - Logger to log into



removeChildContainer
public boolean removeChildContainer(PicoContainer child)(Code)

Parameters:
  child -
See Also:   org.picocontainer.MutablePicoContainer.removeChildContainer(org.picocontainer.PicoContainer)



removeComponent
public ComponentAdapter removeComponent(Object componentKey)(Code)

Parameters:
  componentKey -
See Also:   org.picocontainer.MutablePicoContainer.removeComponent(java.lang.Object)



removeComponentByInstance
public ComponentAdapter removeComponentByInstance(Object componentInstance)(Code)

Parameters:
  componentInstance -
See Also:   org.picocontainer.MutablePicoContainer.removeComponentByInstance(java.lang.Object)



start
public void start()(Code)

See Also:   org.picocontainer.Startable.start



stop
public void stop()(Code)

See Also:   org.picocontainer.Startable.stop



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.