This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<server xmlns="urn:jboss:domain:2.1"> | |
<extensions> | |
<extension module="org.jboss.as.clustering.infinispan"/> | |
<extension module="org.jboss.as.connector"/> | |
<extension module="org.jboss.as.deployment-scanner"/> | |
<extension module="org.jboss.as.ee"/> | |
<extension module="org.jboss.as.ejb3"/> | |
<extension module="org.jboss.as.jaxrs"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SomeService { | |
//これをいれかえたい。 | |
@Autowired | |
private SomeRepository someRepository; | |
// | |
// | |
// | |
} | |
@Repository |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reader.lines().filter(s -> pattern.matcher(s).find()).map(s -> { | |
Matcher matcher = pattern.matcher(s); | |
matcher.find(); | |
DataBean bean = new DataBean(matcher.group()); | |
return bean; | |
}).forEach(s -> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<ruleset name="Complexcity" | |
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd"> | |
<description> | |
Java Complexcity | |
</description> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String... args) { | |
List<ThreadInfo> threadInfos = Arrays.asList(ManagementFactory.getThreadMXBean().dumpAllThreads(true, | |
true)); | |
System.out.println(threadInfos); | |
} | |
----output---- | |
["Signal Dispatcher" Id=4 RUNNABLE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- THIS PRODUCT CONTAINS RESTRICTED MATERIALS OF IBM | |
5724-H88, 5724-J08, 5724-I63, 5655-W65, COPYRIGHT International Business Machines Corp., 2014 | |
All Rights Reserved * Licensed Materials - Property of IBM | |
US Government Users Restricted Rights - Use, duplication or disclosure | |
restricted by GSA ADP Schedule Contract with IBM Corp. | |
--> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attribute VB_Name = "JavaModule" | |
Option Explicit | |
''' Java コンパイル | |
Public Sub JavaCompile() | |
CompileAndRun True | |
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [ScrumManager] with qualifiers [@Default] at injection point [[field] @Inject jsf2.demo.scrum.web.controller.scrum.StoryAction.scrumManager]. Possible dependencies[[Managed Bean [class jsf2.demo.scrum.application.scrum_management.impl.ScrumManagerImpl_yle32y_Impl] with qualifiers [@Any @Default],Session bean [class jsf2.demo.scrum.application.scrum_management.impl.ScrumManagerImpl with qualifiers [@Any @Default]; local interfaces are [ScrumManager]]] | |
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:261) | |
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:105) | |
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:125) | |
~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package megascus.tax; | |
import java.math.BigDecimal; | |
import java.util.Calendar; | |
import java.util.Date; | |
/** | |
* 消費税を保持します。 日付によって消費税が変更できるように実装するサンプルです。 実際に施行される日付とは違う可能性があるので注意して下さい。 | |
* | |
* @author megascus |
OlderNewer