View Javadoc
1   /*
2    * Copyright 2012-2017 CodeLibs Project and the Others.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13   * either express or implied. See the License for the specific language
14   * governing permissions and limitations under the License.
15   */
16  package org.codelibs.fess.es.common;
17  
18  import javax.sql.DataSource;
19  
20  import org.dbflute.bhv.core.InvokerAssistant;
21  import org.dbflute.bhv.core.context.ResourceParameter;
22  import org.dbflute.bhv.core.supplement.SequenceCacheHandler;
23  import org.dbflute.bhv.exception.BehaviorExceptionThrower;
24  import org.dbflute.bhv.exception.SQLExceptionHandlerFactory;
25  import org.dbflute.cbean.cipher.GearedCipherManager;
26  import org.dbflute.cbean.sqlclause.SqlClauseCreator;
27  import org.dbflute.dbmeta.DBMetaProvider;
28  import org.dbflute.dbway.DBDef;
29  import org.dbflute.jdbc.SQLExceptionDigger;
30  import org.dbflute.jdbc.StatementConfig;
31  import org.dbflute.jdbc.StatementFactory;
32  import org.dbflute.optional.RelationOptionalFactory;
33  import org.dbflute.outsidesql.OutsideSqlOption;
34  import org.dbflute.outsidesql.factory.OutsideSqlExecutorFactory;
35  import org.dbflute.s2dao.jdbc.TnResultSetHandlerFactory;
36  import org.dbflute.s2dao.metadata.TnBeanMetaDataFactory;
37  import org.dbflute.twowaysql.factory.SqlAnalyzerFactory;
38  
39  public class ImplementedInvokerAssistant implements InvokerAssistant {
40  
41      // ===================================================================================
42      //                                                                           Attribute
43      //                                                                           =========
44      protected static final String[] DEFAULT_CLIENT_INVOKE_NAMES = new String[] { "Page", "Action", "Controller", "ControllerImpl", "Task",
45              "Test" };
46  
47      protected static final String[] DEFAULT_BYPASS_INVOKE_NAMES = new String[] { "Service", "ServiceImpl", "Facade", "FacadeImpl", "Logic",
48              "LogicImpl" };
49  
50      @Override
51      public DBDef assistCurrentDBDef() {
52          // TODO Auto-generated method stub
53          return null;
54      }
55  
56      @Override
57      public DataSource assistDataSource() {
58          // TODO Auto-generated method stub
59          return null;
60      }
61  
62      @Override
63      public DBMetaProvider assistDBMetaProvider() {
64          // TODO Auto-generated method stub
65          return null;
66      }
67  
68      @Override
69      public SqlClauseCreator assistSqlClauseCreator() {
70          // TODO Auto-generated method stub
71          return null;
72      }
73  
74      @Override
75      public StatementFactory assistStatementFactory() {
76          // TODO Auto-generated method stub
77          return null;
78      }
79  
80      @Override
81      public TnBeanMetaDataFactory assistBeanMetaDataFactory() {
82          // TODO Auto-generated method stub
83          return null;
84      }
85  
86      @Override
87      public TnResultSetHandlerFactory assistResultSetHandlerFactory() {
88          // TODO Auto-generated method stub
89          return null;
90      }
91  
92      @Override
93      public RelationOptionalFactory assistRelationOptionalFactory() {
94          // TODO Auto-generated method stub
95          return null;
96      }
97  
98      @Override
99      public SqlAnalyzerFactory assistSqlAnalyzerFactory() {
100         // TODO Auto-generated method stub
101         return null;
102     }
103 
104     @Override
105     public OutsideSqlOption assistFirstOutsideSqlOption(final String tableDbName) {
106         // TODO Auto-generated method stub
107         return null;
108     }
109 
110     @Override
111     public OutsideSqlExecutorFactory assistOutsideSqlExecutorFactory() {
112         // TODO Auto-generated method stub
113         return null;
114     }
115 
116     @Override
117     public SQLExceptionDigger assistSQLExceptionDigger() {
118         // TODO Auto-generated method stub
119         return null;
120     }
121 
122     @Override
123     public SQLExceptionHandlerFactory assistSQLExceptionHandlerFactory() {
124         // TODO Auto-generated method stub
125         return null;
126     }
127 
128     @Override
129     public SequenceCacheHandler assistSequenceCacheHandler() {
130         // TODO Auto-generated method stub
131         return null;
132     }
133 
134     @Override
135     public String assistSqlFileEncoding() {
136         // TODO Auto-generated method stub
137         return null;
138     }
139 
140     @Override
141     public StatementConfig assistDefaultStatementConfig() {
142         // TODO Auto-generated method stub
143         return null;
144     }
145 
146     @Override
147     public BehaviorExceptionThrower assistBehaviorExceptionThrower() {
148         return new BehaviorExceptionThrower();
149     }
150 
151     @Override
152     public GearedCipherManager assistGearedCipherManager() {
153         // TODO Auto-generated method stub
154         return null;
155     }
156 
157     @Override
158     public ResourceParameter assistResourceParameter() {
159         // TODO Auto-generated method stub
160         return null;
161     }
162 
163     @Override
164     public String[] assistClientInvokeNames() {
165         return DEFAULT_CLIENT_INVOKE_NAMES;
166     }
167 
168     @Override
169     public String[] assistByPassInvokeNames() {
170         return DEFAULT_BYPASS_INVOKE_NAMES;
171     }
172 
173     @Override
174     public void toBeDisposable(final DisposableProcess callerProcess) {
175         // TODO Auto-generated method stub
176 
177     }
178 
179 }