Source Code Cross Referenced for FileBindingBootstrap.java in  » Workflow-Engines » Dalma » com » sun » jbi » binding » file » 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 » Workflow Engines » Dalma » com.sun.jbi.binding.file 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        // Copyright (c) 2004-2005 Sun Microsystems Inc., All Rights Reserved.
002:
003:        /*
004:         * FileBindingBootstrap.java
005:         *
006:         * SUN PROPRIETARY/CONFIDENTIAL.
007:         * This software is the proprietary information of Sun Microsystems, Inc.
008:         * Use is subject to license terms.
009:         *
010:         */
011:        package com.sun.jbi.binding.file;
012:
013:        import java.util.logging.Logger;
014:
015:        import javax.jbi.component.Bootstrap;
016:        import javax.jbi.component.InstallationContext;
017:
018:        /**
019:         * Implemented by a BC Component (BC) to provide any special processing
020:         * required at install/uninstall time. Things such as creation/deletion of
021:         * directories, files, database tables could be done by the onInstall() and
022:         * onUninstall() methods, respectively. Also allows the BC to terminate the
023:         * installation or uninstallation in the event of an error.
024:         *
025:         * @author Sun Microsystems, Inc.
026:         */
027:        public class FileBindingBootstrap implements  Bootstrap {
028:            /**
029:             * This is the installation context given by the framework.
030:             */
031:            private InstallationContext mContext;
032:
033:            /**
034:             * Internal handle to the logger instance
035:             */
036:            private Logger mLog;
037:
038:            /**
039:             * Creates a new instance of FileBindingBootstrap.
040:             */
041:            public FileBindingBootstrap() {
042:                mLog = Logger.getLogger(this .getClass().getPackage().getName());
043:            }
044:
045:            /**
046:             * Get the JMX ObjectName for the optional installation configuration MBean
047:             * for this BC. If there is none, the value is null.
048:             *
049:             * @return ObjectName the JMX object name of the installation configuration
050:             *         MBean or null if there is no MBean.
051:             */
052:            public javax.management.ObjectName getExtensionMBeanName() {
053:                return null;
054:            }
055:
056:            /**
057:             * Cleans up any resources allocated by the bootstrap implementation,
058:             * including deregistration of the extension MBean, if applicable. This
059:             * method will be called after the onInstall() or onUninstall() method is
060:             * called, whether it succeeds or fails.
061:             *
062:             * @throws javax.jbi.JBIException when cleanup processing fails to complete
063:             *         successfully.
064:             */
065:            public void cleanUp() throws javax.jbi.JBIException {
066:            }
067:
068:            /**
069:             * Called to initialize the BC bootstrap.
070:             *
071:             * @param installContext is the context containing information from the
072:             *        install command and from the BC jar file.
073:             *
074:             * @throws javax.jbi.JBIException when there is an error requiring that the
075:             *         installation be terminated.
076:             */
077:            public void init(InstallationContext installContext)
078:                    throws javax.jbi.JBIException {
079:                mContext = installContext;
080:
081:                return;
082:            }
083:
084:            /**
085:             * Called at the beginning of installation of File Binding . For this file
086:             * binding, all the required installation tasks have been taken care by
087:             * the InstallationService.
088:             *
089:             * @throws javax.jbi.JBIException when there is an error requiring that the
090:             *         installation be terminated.
091:             */
092:            public void onInstall() throws javax.jbi.JBIException {
093:                mLog.fine("File binding specific installation tasks started");
094:
095:                mLog.fine("File binding specific installation tasks ended");
096:            }
097:
098:            /**
099:             * Called at the beginning of uninstallation of FileBinding . For this file
100:             * binding, all the required uninstallation tasks have been taken care of
101:             * by the InstallationService
102:             *
103:             * @throws javax.jbi.JBIException when there is an error requiring that the
104:             *         uninstallation be terminated.
105:             */
106:            public void onUninstall() throws javax.jbi.JBIException {
107:                mLog.fine("File binding specific uninstallation tasks started");
108:
109:                mLog.fine("File binding specific uninstallation tasks ended");
110:            }
111:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.